[PYTHON-CRYPTO] Current state of the art?
Andy Dustman
andy at DUSTMAN.NET
Thu Feb 8 21:31:44 CET 2001
At one point (this was years ago), I worked on a SWIG-generated interface
to the SSLeay crypto routines (pre-OpenSSL). Most of the ciphers worked,
and there was access to BIGNUM objects, and I think maybe most of the RSA
stuff worked, and SHA1. This was in the "bad old days" of ITAR...
It would nice for this to be broken out as a package:
crypto
+---bignum
+---ciphers
+----privatekey
+---aes
+---blowfish
+---des
+----publickey
+---rsa
+---dsa
+---dh
+----oneway
+---md5
+---sha1
+---ripemd160
+---keymanagement
+---network
...
crypto.ciphers.privatekey.* would have various object classes which
implement the various cipher modes (ECB, CBC, etc.); these could actually
be factory functions. I think it was AMK's stuff that had cryptors which
would take a plaintext string input and return ciphertext (or vice
versa). I liked that model, but we can also have ones that read/write file
objects.
--
Andy Dustman PGP: 0xC72F3F1D
@ .net http://dustman.net/andy
"Normally with carbonara you use eggs, but I used lobster brains instead."
-- Masahiko Kobe (Iron Chef Italian): 30-year-old Giant Lobster Battle
More information about the python-crypto
mailing list