[PYTHON-CRYPTO] Requirements

Rich Salz rsalz at CAVEOSYSTEMS.COM
Wed Feb 14 04:21:05 CET 2001


> Especially with hardware crypto implementations. How would you propose a
> programmer use the find alg?

Most folks would do:
        des=crypto.symmetric.factory(mechanism='3des')
which would let the local system find the "best" implementation.

Some might have an ordered list of preferences:
        AES=crypto.symmetric.factory(mechanism='AES',
prefs='hardware:openssl:pycrypto')

A high-security application, such as for a bank, might use
        rsa=crypto.asymmetric.factory(mechanism='RSA',
'prefs=Fips140-1-Level4')

Hope this helps.
        /r$





More information about the python-crypto mailing list