[][src]Crate tiny_keccak

Keccak derived functions specified in FIPS-202 and SP800-185

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

tiny-keccak was heavily inspsired by the following libraries:

License: CC0, attribution kindly requested. Blame taken too, but not liability.

Traits

Hasher

A trait for hashing an arbitrary stream of bytes.

Xof

A function on bit strings in which the output can be extended to any function (XOF) desired length.