By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,270 Members | 1,703 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,270 IT Pros & Developers. It's quick & easy.

modes for AES encryption?

P: n/a
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?
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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).

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.