On 08/18/2013 05:52 PM, Roy Smith wrote: > In article <mailman.6.1376863028.19984.python-l...@python.org>, > Anthony Papillion <papill...@gmail.com> wrote: > >> I've just started working with the Crypto library and I've already run >> into a wall even though I'm following a tutorial. Basically, I'm trying >> to encrypt a string using AES in CBC mode. Here is the code: >> >> from Crypto import AES > > You don't say exactly what module you're using. I'm assuming > https://www.dlitz.net/software/pycrypto/api/current/, yes?
<snip> Thank you, Roy, this was very helpful. You're right, I was confusing key size with the IV and I was tying the two together in an inappropriate (wrong) way. Thanks again! Anthony -- http://mail.python.org/mailman/listinfo/python-list