'Return `input_str` with PKCS#7 padding added to match AES block length'

@staticmethod
def _add_padding(input_str):

    padding_len = (AES.block_size - (len(input_str) % AES.block_size))
    return (input_str + (padding_len * chr(padding_len)))
