21 unstable releases

0.11.0-pre.2 Jan 19, 2024
0.10.4 Sep 2, 2022
0.10.2 Aug 30, 2022
0.10.1 Feb 17, 2022
0.3.0 Nov 17, 2016

#2452 in Cryptography

Download history 17755/week @ 2024-01-01 15926/week @ 2024-01-08 14247/week @ 2024-01-15 15122/week @ 2024-01-22 14087/week @ 2024-01-29 15322/week @ 2024-02-05 17491/week @ 2024-02-12 15607/week @ 2024-02-19 15878/week @ 2024-02-26 15817/week @ 2024-03-04 19424/week @ 2024-03-11 16438/week @ 2024-03-18 16922/week @ 2024-03-25 18088/week @ 2024-04-01 17904/week @ 2024-04-08 18595/week @ 2024-04-15

71,667 downloads per month
Used in 25 crates (17 directly)



RustCrypto: Whirlpool

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status

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.


use whirlpool::{Whirlpool, Digest};
use hex_literal::hex;

let mut hasher = Whirlpool::new();
hasher.update(b"Hello Whirlpool");
let hash = hasher.finalize();

assert_eq!(hash, hex!(

Also, see the examples section in the RustCrypto/hashes readme.

Minimum Supported Rust Version

Rust 1.71 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above


The crate is licensed under either of:

at your option.


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.


~11K SLoC