geremy condra <debat...@gmail.com> added the comment:

On Fri, Jun 18, 2010 at 2:39 AM, Daniel Urban <rep...@bugs.python.org> wrote:
>
> Daniel Urban <urban.dani...@gmail.com> added the comment:
>
>>  * When I have thought about Python crypto in the stdlib, I've considered 
>> modeling it after hashlib, so you would get cipher = cryptolib.AES(bits=192, 
>> ...) etc. (Caveat: haven't thought it through.)
>
> I think there is a relevant PEP: PEP 272 -- API for Block Encryption 
> Algorithms v1.0 (http://www.python.org/dev/peps/pep-0272/ )
> It describes an API somewhat similar to hashlib.

Again, I'm not entirely opposed to this, but I think it represents a
lower-level API than most developers can really be safely trusted to
handle.

Geremy Condra

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8998>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to