[PYTHON-CRYPTO] complete disagreement

Michael Ströder michael at STROEDER.COM
Sun Feb 11 21:02:09 CET 2001


Dan Parisien wrote:
>
> Each crypto module should adhere to a standard interface depending on what it
> is (e.g. symmetric cypher, asymmetric cypher, msg digest, key excange, etc.)

Yes.

> > try:
> >   import md5
> > except ImportError:
> >   md5present
>
> I see nothing wrong with this type of code.

You have know all possible implementations of a certain
algorithm/protocol by module name in advance.

Ciao, Michael.





More information about the python-crypto mailing list