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
PrimeFieldelements. - 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.
RoundNumbersrequired for security based on known attacks.- Represents a square matrix over
PrimeFieldelements
Enums
- The exponent in
Sbox(x) = x^\alpha.
Traits
- Matrix operations that are defined on square matrices.
Functions
- Multiply two matrices