comparison dcrypt/crypto/hashes/SHA384.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.SHA384; 9 module dcrypt.crypto.hashes.SHA384;
10 10
11 import dcrypt.crypto.hashes.SHA512; 11 import dcrypt.crypto.hashes.SHA512;
12 12
13 /** Implementation of SHA-384. */ 13 /**
14 * Implementation of the US NSA's SHA-384.
15 *
16 * Conforms: FIPS-180-2
17 * References: http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
18 */
14 class SHA384 : SHA512 { 19 class SHA384 : SHA512 {
15 this (void[] input_=null) { 20 this (void[] input_=null) {
16 reset(); 21 reset();
17 super(input_); 22 super(input_);
18 } 23 }