modes for AES encryption?
ccurvey at earthlink.net
Tue Mar 29 20:40:28 CEST 2005
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
More information about the Python-list