[PYTHON-CRYPTO] Requirements

Michael Ströder michael at STROEDER.COM
Wed Feb 14 09:04:02 CET 2001


Rich Salz wrote:
>
> > 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.

Yes, the "best" implementation according to the fixed order defined
by the system's admin.

> prefs='hardware:openssl:pycrypto')

This is more a package name.

> prefs='Fips140-1-Level4')

Such a parameter prefs would require that we define an extra name
space for capabilities. Hmm, could get complicated to maintain it.
I'd like to avoid that and just rely on system's configuration.

Ciao, Michael.





More information about the python-crypto mailing list