Expand description
Keccak derived functions specified in FIPS-202, SP800-185 and KangarooTwelve.
§Example
let input_a = b"hello world";
let input_b = b"!";
let mut output = [0u8; 32];
hasher.update(input_a);
hasher.update(input_b);
hasher.finalize(&mut output);§Credits
coruus/keccak-tinyfor C implementation of keccak function@quininerforno-stdsupport and rust implementationSP800-185mimoo/GoKangarooTwelvefor GO implementation ofKangarooTwelve@Vurichfor optimizations@oleganzafor adding support for half-duplex use
§License
CC0. Attribution kindly requested. Blame taken too,
but not liability.
Structs§
Traits§
- Hasher
- A trait for hashing an arbitrary stream of bytes.
- IntoXof
- A trait used to convert
Hasherinto it’sXofcounterpart. - Xof
- Extendable-output function (
XOF) is a function on bit strings in which the output can be extended to any desired length.
Functions§
- keccakf
keccak-f[1600, 24]