Re: modes for AES encryption?

2005-03-29 Thread Chris Curvey
Chris Curvey wrote:
I'm trying to use the AES module in the Python Cryptography Toolkit.  I 
need to set the mode to ECB/NoPadding, and there's a reference to a 
Mode parameter in the new() function, but no examples for AES.  Who 
can point me in the right direction?
Answering my own question for posterity...ECB is your *only* option for 
AES, and you have to do your own padding (pad with \0 to emulate 
NoPadding).

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


modes for AES encryption?

2005-03-24 Thread Chris Curvey
I'm trying to use the AES module in the Python Cryptography Toolkit.  I 
need to set the mode to ECB/NoPadding, and there's a reference to a 
Mode parameter in the new() function, but no examples for AES.  Who 
can point me in the right direction?
--
http://mail.python.org/mailman/listinfo/python-list