aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-18 22:07:29 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-18 22:07:29 -0500
commit79ff8bf91838e0e98ec75b467c0650968bf4f626 (patch)
tree6abf4a52ab27ff03b2b20aa009421b7790ee2ed3 /cryptography
parent1494e3e1ffb192b9c55d200a6346879ca2fe1a8b (diff)
downloadcryptography-79ff8bf91838e0e98ec75b467c0650968bf4f626.tar.gz
cryptography-79ff8bf91838e0e98ec75b467c0650968bf4f626.tar.bz2
cryptography-79ff8bf91838e0e98ec75b467c0650968bf4f626.zip
Whirlpool support
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/primitives/hashes.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cryptography/primitives/hashes.py b/cryptography/primitives/hashes.py
index affca564..06d90a90 100644
--- a/cryptography/primitives/hashes.py
+++ b/cryptography/primitives/hashes.py
@@ -76,3 +76,9 @@ class RIPEMD160(BaseHash):
name = "ripemd160"
digest_size = 20
block_size = 64
+
+
+class Whirlpool(BaseHash):
+ name = "whirlpool"
+ digest_size = 64
+ block_size = 64