Question about crypto

Skip Montanaro skip at pobox.com
Mon Aug 19 00:29:37 CEST 2013


> When I run the code above, I am told that the IV must be 16 bytes long.
> I'm assuming that the IV (I know that means "Initialization Vector") is
> either the key OR something else I can set. But I don't know how or what
> to do.

Does this Stack Overflow thread help?  It looks to me like you aren't
defining an initialization vector at all.

http://stackoverflow.com/questions/14716338/pycrypto-how-does-the-initialization-vector-work

Skip



More information about the Python-list mailing list