Skip to main content

hash_n_to_hash_no_pad

Function hash_n_to_hash_no_pad 

Source
pub fn hash_n_to_hash_no_pad(input: &[Fp]) -> [Fp; 4]
Expand description

Compress an arbitrary-length input to a fixed HASH_OUT-element digest.

HASH_OUT <= RATE, so the squeeze never re-permutes and there is no reason to allocate a Vec.