Expand description
An implementation of the Whirlpool cryptographic hash algorithm.
This is the algorithm recommended by NESSIE (New European Schemes for Signatures, Integrity and Encryption; an European research project).
The constants used by Whirlpool were changed twice (2001 and 2003) - this module only implements the most recent standard. The two older Whirlpool implementations (sometimes called Whirlpool-0 (pre 2001) and Whirlpool-T (pre 2003)) were not used much anyway (both have never been recommended by NESSIE).
For details see http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html.
§Usage
use self::crypto::whirlpool::Whirlpool;
use self::crypto::digest::Digest;
let mut hasher = Whirlpool::new();
hasher.input_str("Hello Whirlpool");
let result = hasher.result_str();
assert_eq!(result,
concat!("8eaccdc136903c458ea0b1376be2a5fc",
"9dc5b8ce8892a3b4f43366e2610c206c",
"a373816495e63db0fff2ff25f75aa716",
"2f332c9f518c3036456502a8414d300a"));