anemoi::bls12_381

Module anemoi_2_1

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

Constants§

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