What's so funny? WAS Re: rotor replacement

Nick Craig-Wood nick at craig-wood.com
Sun Jan 30 06:30:03 EST 2005


Paul Rubin <http> wrote:
>  "Martin v. Löwis" <martin at v.loewis.de> 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 <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list