Paul Rubin <http> wrote: > "Martin v. Löwis" <[EMAIL PROTECTED]> writes: > > Apparently, people disagree on what precisely the API should be. E.g. > > cryptkit has > > > > obj = aes(key) > > obj.encrypt(data) > > I don't disagree about the API. The cryptkit way is better than ECB > example I gave, but the ECB example shows it's possible to do it in > one call.
There is a PEP about this... API for Block Encryption Algorithms v1.0 http://www.python.org/peps/pep-0272.html -- Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick -- http://mail.python.org/mailman/listinfo/python-list