aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-10-18 20:00:20 -0700
committerDonald Stufft <donald@stufft.io>2013-10-18 20:00:20 -0700
commit1494e3e1ffb192b9c55d200a6346879ca2fe1a8b (patch)
tree666e3ccb3978d1eb915516937e2fe54127c43649 /cryptography
parent617c0c7e6f89271373f3f15ee05d16c80c8bdd5e (diff)
parentc179407406f0ef5c2b7b5b6316521408ba3803b3 (diff)
downloadcryptography-1494e3e1ffb192b9c55d200a6346879ca2fe1a8b.tar.gz
cryptography-1494e3e1ffb192b9c55d200a6346879ca2fe1a8b.tar.bz2
cryptography-1494e3e1ffb192b9c55d200a6346879ca2fe1a8b.zip
Merge pull request #125 from reaperhulk/hash-saga-ripeness
Hash Saga Part 5 (RIPEMD160 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 d004c45c..affca564 100644
--- a/cryptography/primitives/hashes.py
+++ b/cryptography/primitives/hashes.py
@@ -70,3 +70,9 @@ class SHA512(BaseHash):
name = "sha512"
digest_size = 64
block_size = 128
+
+
+class RIPEMD160(BaseHash):
+ name = "ripemd160"
+ digest_size = 20
+ block_size = 64