[issue8998] add crypto routines to stdlib

geremy condra report at bugs.python.org
Fri Jun 18 08:46:51 CEST 2010


geremy condra <debatem1 at gmail.com> added the comment:

On Fri, Jun 18, 2010 at 2:39 AM, Daniel Urban <report at bugs.python.org> wrote:
>
> Daniel Urban <urban.dani+py at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8998>
_______________________________________


More information about the Python-bugs-list mailing list