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§

bls12_381
An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over BLS12-381 base field.
ed_on_bls12_377
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.
jubjub
An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over Jubjub base field.
pallas
An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over Pallas base field.
vesta
An implementation of instantiations of the Anemoi permutation in Sponge and Jive modes targetting the 128-bit security level over Vesta base field.

Traits§

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