Mercurial > projects > dcrypt
diff dcrypt/crypto/macs/HMAC.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 | 3de3a2de13a0 |
children | 5ce3012f1def |
line wrap: on
line diff
--- a/dcrypt/crypto/macs/HMAC.d Thu Aug 14 23:51:56 2008 -0400 +++ b/dcrypt/crypto/macs/HMAC.d Sat Aug 16 22:43:22 2008 -0400 @@ -17,7 +17,12 @@ import dcrypt.crypto.hashes.SHA1; } -/** Conforms: RFC2104 */ +/** + * Implementation of Keyed-Hash Message Authentication Code (HMAC) + * + * Conforms: RFC 2104 + * References: http://www.faqs.org/rfcs/rfc2104.html + */ class HMAC : MAC { private { ubyte[] ipad, opad, key;