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-tiny
for C implementation of keccak function@quininer
forno-std
support and rust implementationSP800-185
mimoo/GoKangarooTwelve
for GO implementation ofKangarooTwelve
@Vurich
for optimizations@oleganza
for adding support for half-duplex use
§License
CC0
. Attribution kindly requested. Blame taken too,
but not liability.
Structs§
- CShake
- The
cSHAKE
extendable-output functions defined inSP800-185
. - Kangaroo
Twelve - The
KangarooTwelve
hash function definedhere
. - Kangaroo
Twelve Xof - The
KangarooTwelve
extendable-output function definedhere
. - Keccak
- The
Keccak
hash functions defined inKeccak SHA3 submission
. - Kmac
- The
KMAC
pseudo-random functions defined inSP800-185
. - KmacXof
- The
KMACXOF
extendable-output functions defined inSP800-185
. - Parallel
Hash - The
ParallelHash
hash functions defined inSP800-185
. - Parallel
Hash Xof - The
ParallelHashXOF
extendable-output functions defined inSP800-185
. - Sha3
- The
SHA3
hash functions defined inFIPS-202
. - Shake
- The
SHAKE
extendable-output functions defined inFIPS-202
. - Tuple
Hash - The
TupleHash
hash functions defined inSP800-185
. - Tuple
Hash Xof - The
TupleHashXOF
extendable-output functions defined inSP800-185
.
Traits§
- Hasher
- A trait for hashing an arbitrary stream of bytes.
- IntoXof
- A trait used to convert
Hasher
into it’sXof
counterpart. - Xof
- Extendable-output function (
XOF
) is a function on bit strings in which the output can be extended to any desired length.