Commit graph

13 commits

Author SHA1 Message Date
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
Dwayne C. Litzenberger
bf38995ffa Merge branch 'master' into py3k
Conflicts:
	setup.py
	src/_fastmath.c
2011-10-10 14:51:07 -04:00
Legrandin
01f280d0e2 Merged with upstream. 2011-09-20 19:41:33 +02:00
Frédéric Bertolus
577d0dbd7d Add variable block size support to HMAC-SHA384 and HMAC-SHA512 which use
block of 128 bytes long
2011-04-08 18:23:07 +02:00
Legrandin
dd3f0007c5 Simplify wrapper, as digest_size is known in advance each time. 2011-02-07 23:18:12 +01:00
Legrandin
6d7eb4f0f3 First fully tested version of Crypto.Signature.PKCS1_PSS 2011-02-06 23:07:58 +01:00
Legrandin
0d14809acd Add OID to each hash algorithm. 2011-02-03 01:35:46 +01:00
Thorsten Behrens
295ce314d9 Changes to allow pycrpyto to work on Python 3.x as well as 2.1 through 2.7 2010-12-28 16:26:52 -05: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/SHA.py (Browse further)