diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-18 18:54:40 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-19 21:50:13 -0500 |
commit | 36e7d0df315dca887f5b073e17209ee3eeb5a576 (patch) | |
tree | 6dbdc73bc4d4d5dcb04c84e4bf44172d9449f34a /tests/primitives/test_hashes.py | |
parent | 1caf8ab5ec72d8373bc9af7a9f7b63c2ac0826f7 (diff) | |
download | cryptography-36e7d0df315dca887f5b073e17209ee3eeb5a576.tar.gz cryptography-36e7d0df315dca887f5b073e17209ee3eeb5a576.tar.bz2 cryptography-36e7d0df315dca887f5b073e17209ee3eeb5a576.zip |
MD5 support + documentation for all hashes
Diffstat (limited to 'tests/primitives/test_hashes.py')
-rw-r--r-- | tests/primitives/test_hashes.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/primitives/test_hashes.py b/tests/primitives/test_hashes.py index 982fc7cd..901ddabb 100644 --- a/tests/primitives/test_hashes.py +++ b/tests/primitives/test_hashes.py @@ -86,3 +86,13 @@ class TestWhirlpool(object): only_if=lambda api: api.supports_hash(hashes.Whirlpool), skip_message="Does not support Whirlpool", ) + + +class TestMD5(object): + test_MD5 = generate_base_hash_test( + hashes.MD5, + digest_size=16, + block_size=64, + only_if=lambda api: api.supports_hash(hashes.MD5), + skip_message="Does not support MD5", + ) |