Expand description
An instantiation of Anemoi with state width 2 and rate 1 aimed at providing 128 bits security. Implementation of the Anemoi permutation
Structs§
- Anemoi
Digest - An Anemoi Digest for the Anemoi Hash over Felt
- Anemoi
EdOn Bls12_ 377_ 2_ 1 - An Anemoi instantiation over BLS_12_377 scalarfield with 1 column and rate 1.
Constants§
- DIGEST_
SIZE - One element (32-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 19 to provide 128-bit security level.
- RATE_
WIDTH - 1 element of the state is reserved for rate.
- STATE_
WIDTH - Function state is set to 2 field elements or 64 bytes. 1 element of the state is reserved for capacity.