Crate anemoi

Source
Expand description

This crate provides an implementation of different instantiations of the Anemoi permutation, and applications to a Sponge mode and a novel Jive compression mode.

All hash instantiations are defined using a Sponge trait and can both process sequences of bytes or native field elements.

Modules§

  • An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over BLS12-381 base field.
  • An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over ED_ON_BLS12-377 base field.
  • An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over Jubjub base field.
  • An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over Pallas base field.
  • An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over Vesta base field.

Traits§

  • An Anemoi instance, defining the Anemoi permutation over a given finite field for a given instance size.
  • Trait for implementing a Jive compression function instantiation.
  • Trait for implementing a Sponge construction.