Commit graph

8 commits

Author SHA1 Message Date
Dwayne Litzenberger
c82be67c1e Update RIPEMD documentation (deprecated; see RIPEMD160) 2013-07-14 20:29:52 -07:00
Dwayne Litzenberger
18137d0e42 Hash: Rename SHA->SHA1 and RIPEMD->RIPEMD160 (2/2)
These algorithm names were confusing, because there are actually
algorithms called "SHA" (a.k.a. SHA-0) and "RIPEMD" (the original
version).

This commit adds backward-compatibility support for the old
Crypto.Hash.SHA and Crypto.Hash.RIPEMD modules.
2013-02-16 16:20:30 -08:00
Dwayne Litzenberger
755375bb7d Hash: Rename SHA->SHA1 and RIPEMD->RIPEMD160 (1/2)
These algorithm names were confusing, because there are actually
algorithms called "SHA" (a.k.a. SHA-0) and "RIPEMD" (the original
version).

This commit just renames the modules, with no backward-compatibility
support.
2013-02-16 16:20:23 -08:00
Legrandin
2f8a86bd83 Added documentation for all hash algorithms
(including for HMAC which, strictly speaking, does not belong with them).
2012-05-05 23:37:19 +02:00
Legrandin
c22fa18c0d Merged from upstream (py3k support) and modified so that all unit tests pass. 2011-10-18 23:20:26 +02:00
Legrandin
897b75983c Added Lorenz Quack's native C implementation of all SHA-2 algorithm
(as submitted here https://bugs.launchpad.net/pycrypto/+bug/544792)
so that they are available also in Python 2.1, 2.2, 2.3 and 2.4.

Regardless where the implementation comes from (Python standard
library or our native modules, depending on the Python version),
all Crypto.Hash objects are always used as front-ends.
2011-10-16 22:41:21 +02:00
Dwayne C. Litzenberger
494cad8bc9 Legal: Add PD dedication to __init__.py files and hash stubs
From what I can tell, the authors of these files are:

 - Andrew Kuchling (who has dedicated his contributions to the public domain);
   and/or
 - Dwayne Litzenberger (myself).
2009-03-01 10:23:08 -05:00
Dwayne C. Litzenberger
ff8a657a8d cleanup: Move modules to "lib/Crypto" subdirectory.
This will avoid the previous situation where scripts like the old "test.py"
get included accidentally in a release.  It also frees us to put additional
build scripts in the top-level directory of the source tree.
2009-02-28 13:14:53 -05:00
Renamed from Hash/RIPEMD.py (Browse further)