An implementation of the Groestl cryptographic hash function.
Usage
Groestl can produce a digest of any size between 1 and 64 bytes inclusive.
This crate defines the common digest sizes (Groestl224
, Groestl256
,
Groestl384
, and Groestl512
), but allows you to specify a custom size
with the GroestlSmall
and GroestlBig
structs. GroestlSmall
allows you
to specify a digest size between 1 and 32 inclusive, and GroestlBig
allows
you to specify a digest size between 33 and 64 inclusive.
use ;
let mut hasher = default;
hasher.input;
let result = hasher.result;