Question about crypto

Anthony Papillion papillion at gmail.com
Mon Aug 19 08:35:22 EDT 2013


On 08/18/2013 05:52 PM, Roy Smith wrote:
> In article <mailman.6.1376863028.19984.python-list at python.org>,
>  Anthony Papillion <papillion at 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





More information about the Python-list mailing list