Skip to main content

Module crypto

Module crypto 

Source
Expand description

Crypto test vectors: blake2b-256, keccak-256.

Input: raw message bytes. Output: 32-byte hash. Each suite hashes a small corpus of fixed inputs and XOR-folds the resulting digests into a single u64 fingerprint.

Functionsยง

blake2b_256
blake2b_256_suite
keccak_256
keccak_256_suite