[EMAIL PROTECTED] wrote:
> ValueError: Input strings must be a multiple of 16 in length

As James Stroud noted, a CBC mode cipher is still a block cipher, and
the input *must* be a multiple of the block size.

OpenSSL provides a standard padding mechanism so that there are no input
size limitations for any cipher.

Have a look at http://tachyon.in/ncrypt/
It provides access to the OpenSSL ciphers (including padding).

Regards
Sreeram

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to