Module poseidon_parameters::v1

source ·
Expand description

Structures related to Poseidon version 1 parameters.

Structs

  • Represents an matrix of round constants.
  • Represents a matrix over PrimeField elements.
  • Represents an MDS (maximum distance separable) matrix.
  • Represents an optimized matrix of round constants.
  • Represents an optimized MDS (maximum distance separable) matrix.
  • A set of Poseidon1 parameters for a given set of input parameters.
  • RoundNumbers required for security based on known attacks.
  • Represents a square matrix over PrimeField elements

Enums

  • The exponent in Sbox(x) = x^\alpha.

Traits

Functions