Mercurial > projects > dcrypt
comparison dcrypt/crypto/hashes/SHA224.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 | 4589f8c5eb3c |
comparison
equal
deleted
inserted
replaced
5:cff9960a019c | 6:5cb17e09d685 |
---|---|
8 | 8 |
9 module dcrypt.crypto.hashes.SHA224; | 9 module dcrypt.crypto.hashes.SHA224; |
10 | 10 |
11 import dcrypt.crypto.hashes.SHA256; | 11 import dcrypt.crypto.hashes.SHA256; |
12 | 12 |
13 /** Implementation of SHA-224. */ | 13 /** |
14 * Implementation of the US NSA's SHA-224. | |
15 * | |
16 * Conforms: FIPS-180-2 | |
17 * References: http://csrc.nist.gov/publications/fips/fips180-2/FIPS180-2_changenotice.pdf | |
18 */ | |
14 class SHA224 : SHA256 { | 19 class SHA224 : SHA256 { |
15 this (void[] input_=null) { | 20 this (void[] input_=null) { |
16 reset(); | 21 reset(); |
17 super(input_); | 22 super(input_); |
18 } | 23 } |