aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-18 18:54:40 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-19 21:50:13 -0500
commit36e7d0df315dca887f5b073e17209ee3eeb5a576 (patch)
tree6dbdc73bc4d4d5dcb04c84e4bf44172d9449f34a /cryptography
parent1caf8ab5ec72d8373bc9af7a9f7b63c2ac0826f7 (diff)
downloadcryptography-36e7d0df315dca887f5b073e17209ee3eeb5a576.tar.gz
cryptography-36e7d0df315dca887f5b073e17209ee3eeb5a576.tar.bz2
cryptography-36e7d0df315dca887f5b073e17209ee3eeb5a576.zip
MD5 support + documentation for all hashes
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 06d90a90..d0f4c226 100644
--- a/cryptography/primitives/hashes.py
+++ b/cryptography/primitives/hashes.py
@@ -82,3 +82,9 @@ class Whirlpool(BaseHash):
name = "whirlpool"
digest_size = 64
block_size = 64
+
+
+class MD5(BaseHash):
+ name = "md5"
+ digest_size = 16
+ block_size = 64