Expand description
The Poseidon algebraic hash function.
Structs§
- Absorbing
- The absorbing state of the
Sponge. - Constant
Length - A Poseidon hash function used with constant input length.
- Hash
- A Poseidon hash function, built around a sponge.
- P128
Pow5 T3 - Poseidon-128 using the $x^5$ S-box, with a width of 3 field elements, and the standard number of rounds for 128-bit security “with margin”.
- Squeezing
- The squeezing state of the
Sponge.
Traits§
- Domain
- A domain in which a Poseidon hash function is being used.
- Spec
- A specification for a Poseidon permutation.
- Sponge
Mode - The state of the
Sponge.
Functions§
- generate_
constants - Generates
(round_constants, mds, mds^-1)corresponding to this specification.