Module crhf

Source
Expand description

Collision-resistant Hash Function (CRHF) based on Poseidon2 permutation

Structsยง

FixedLenPoseidon2Hash
Sponge-based CRHF where the Sponge uses Poseidon2 permutation Input length is fixed: the actual input can be shorter, but will internally be zero-padded to INPUT_SIZE
VariableLenPoseidon2Hash
Sponge-based CRHF where the Sponge uses Poseidon2 permutation, with variable-length input