anemoi::vesta

Module anemoi_4_3

Source
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§

  • An Anemoi Digest for the Anemoi Hash over Felt
  • An Anemoi instantiation over Vesta basefield with 2 columns and rate 3.

Constants§

  • One element (32-bytes) is returned as digest.
  • The state is divided into two even-length rows.
  • The number of rounds is set to 14 to provide 128-bit security level.
  • 3 elements of the state are reserved for rate.
  • Function state is set to 4 field elements or 128 bytes. 1 element of the state is reserved for capacity.