Mercurial > projects > dcrypt
diff dcrypt/crypto/hashes/MD5.d @ 6:5cb17e09d685
Minor edits to the unittests of hash functions and ciphers. Added AES and test vectors.
author | Thomas Dixon <reikon@reikon.us> |
---|---|
date | Sat, 16 Aug 2008 22:43:22 -0400 |
parents | a5789a7b3b3b |
children | cd376996cdb3 |
line wrap: on
line diff
--- a/dcrypt/crypto/hashes/MD5.d Thu Aug 14 23:51:56 2008 -0400 +++ b/dcrypt/crypto/hashes/MD5.d Sat Aug 16 22:43:22 2008 -0400 @@ -10,7 +10,13 @@ public import dcrypt.crypto.Hash; -/** Implementation of Ron Rivest's MD5. */ +/** + * Implementation of Ron Rivest's MD5. + * + * Conforms: RFC 1321 + * References: http://www.faqs.org/rfcs/rfc1321.html + * Bugs: MD5 is not cryptographically secure. + */ class MD5 : Hash { private uint h0, h1, h2, h3;