Expand description

The Poseidon algebraic hash function.

Structs

  • The absorbing state of the Sponge.
  • A Poseidon hash function used with constant input length.
  • A Poseidon hash function, built around a sponge.
  • 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”.
  • The squeezing state of the Sponge.

Traits

  • A domain in which a Poseidon hash function is being used.
  • A specification for a Poseidon permutation.
  • The state of the Sponge.

Functions

  • Generates (round_constants, mds, mds^-1) corresponding to this specification.

Type Aliases

  • The type used to hold the MDS matrix and its inverse.