Expand description
An instantiation of Anemoi with state width 4 and rate 3 aimed at providing 128 bits security. Implementation of the Anemoi permutation
Structs§
- Anemoi
Bls12_ 381_ 4_ 3 - An Anemoi instantiation over BLS12_381 basefield with 2 columns and rate 3.
- Anemoi
Digest - An Anemoi Digest for the Anemoi Hash over Felt
Constants§
- DIGEST_
SIZE - One element (48-bytes) is returned as digest.
- NUM_
COLUMNS - The state is divided into two even-length rows.
- NUM_
HASH_ ROUNDS - The number of rounds is set to 14 to provide 128-bit security level.
- RATE_
WIDTH - 3 elements of the state are reserved for rate.
- STATE_
WIDTH - Function state is set to 4 field elements or 192 bytes. 1 element of the state is reserved for capacity.