PyCrypto v1.0.2 Release Notes
-
* Changed files to work with Python 1.5; everything has been
๐ฆ re-arranged into a hierarchical package. (Not backward compatible.) ๐ฆ The package organization is: Crypto. Hash. MD2, MD4, MD5, SHA, HAVAL Cipher. ARC2, ARC4, Blowfish, CAST, DES, DES3, Diamond, IDEA, RC5, Sapphire PublicKey. DSA, ElGamal, qNEW, RSA Util. number, randpool, RFC1751
Since this is backward-incompatible anyway, I also changed
module names from all lower-case to mixed-case: diamond -> Diamond, rc5 -> RC5, etc. That had been an annoying inconsistency for a while.
* Added CAST5 module contributed by <[email protected]>. * Added qNEW digital signature algorithm (from the digisign.py
I advertised a while back). (If anyone would like to suggest new algorithms that should be implemented, please do; I think I've got everything that's really useful at the moment, but...)
* Support for keyword arguments has been added. This allowed
removing the obnoxious key handling for Diamond and RC5, where the first few bytes of the key indicated the number of rounds to use, and various other parameters. Now you need only do something like:
from Crypto.Cipher import RC5 obj = RC5.new(key, RC5.ECB, rounds=8)
(Not backward compatible.)
* Various function names have been changed, and parameter
names altered. None of these were part of the public interface, so it shouldn't really matter much.
* Various bugs fixed, the test suite has been expanded, and
๐ the build process simplified.
* Updated the documentation accordingly.