Module poseidon

Module poseidon 

Source
Expand description

The sponge for Poseidon

This implementation of Poseidon is entirely from Fractal’s implementation in COS20 with small syntax changes.

Modules§

constraints
constraints for Poseidon

Structs§

PoseidonParameters
Parameters and RNG used
PoseidonSponge
A duplex sponge based using the Poseidon permutation.
PoseidonSpongeState
Stores the state of a Poseidon Sponge. Does not store any parameter.