RustCrypto: Whirlpool
Pure Rust 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 crate 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 this page.
Examples
use ;
use hex;
let mut hasher = new;
hasher.update;
let hash = hasher.finalize;
assert_eq!;
See the digest crate docs for additional examples.
License
The crate is licensed under either of:
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.