diff options
| author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-02-16 16:06:32 -0800 |
|---|---|---|
| committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-02-16 16:20:23 -0800 |
| commit | 755375bb7d866a01e19153f5809772f4474eb94d (patch) | |
| tree | b8abee5c8e7c529330cfe371a318075df2a86b28 /lib/Crypto/Protocol | |
| parent | 7f5b9415346ea5849e8f6becbafcef8a48cf1b8f (diff) | |
| download | pycrypto-755375bb7d866a01e19153f5809772f4474eb94d.tar.gz | |
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.
Diffstat (limited to 'lib/Crypto/Protocol')
| -rw-r--r-- | lib/Crypto/Protocol/KDF.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/Protocol/KDF.py b/lib/Crypto/Protocol/KDF.py index 973b7af..b13562a 100644 --- a/lib/Crypto/Protocol/KDF.py +++ b/lib/Crypto/Protocol/KDF.py @@ -39,7 +39,7 @@ import math import struct from Crypto.Util.py3compat import * -from Crypto.Hash import SHA as SHA1, HMAC +from Crypto.Hash import SHA1, HMAC from Crypto.Util.strxor import strxor def PBKDF1(password, salt, dkLen, count=1000, hashAlgo=None): |
