[PYTHON-CRYPTO] Okay, I'll break the ice... :)

Ng Pheng Siong ngps at POST1.COM
Thu Feb 8 16:35:36 CET 2001


On Wed, Feb 07, 2001 at 03:04:12PM -0500, Bryan Mongeau wrote:
> Having a crypto-SIG would do wonders for python's acceptance. In the same way
> that the dbAPI-SIG suddenly made persistent python objects readily available
> to even the lay programmer, powerful crypto routines should be wieldable by
> everyone like this:

<pedantic>
The DB API doesn't really do persistent Python objects; it connects
Python to RDBMS's. Zope's ZODB does persistent Python objects.
</pedantic>


> >>> from crypto import aes
> >>> encryptor = aes( "key string")  # Can be hashed or not? Easier for laymen?

You'll need to be able to specify IV and mode.


> I also don't think we should waste our time with the older algorithms, except
> in the case of maintaining compatibility with industry standards like SSL.

For compatibility with SSL, you need the following:

EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA:DES-CBC3-MD5:DHE-DSS-RC4-SHA:IDEA-CBC-SHA:RC4-SHA:RC4-MD5:IDEA-CBC-MD5:RC2-CBC-MD5:RC4-MD5:RC4-64-MD5:EXP1024-DHE-DSS-RC4-SHA:EXP1024-RC4-SHA:EXP1024-DHE-DSS-DES-CBC-SHA:EXP1024-DES-CBC-SHA:EXP1024-RC2-CBC-MD5:EXP1024-RC4-MD5:EDH-RSA-DES-CBC-SHA:EDH-DSS-DES-CBC-SHA:DES-CBC-SHA:DES-CBC-MD5:EXP-EDH-RSA-DES-CBC-SHA:EXP-EDH-DSS-DES-CBC-SHA:EXP-DES-CBC-SHA:EXP-RC2-CBC-MD5:EXP-RC4-MD5:EXP-RC2-CBC-MD5:EXP-RC4-MD5


Cheers.
--
Ng Pheng Siong <ngps at post1.com> * http://www.post1.com/home/ngps





More information about the python-crypto mailing list