pub trait PoseidonDefaultField {
    // Provided method
    fn default_poseidon_parameters<const RATE: usize>(
    ) -> Result<PoseidonParameters<Self, RATE, 1>>
       where Self: PrimeField { ... }
}
Expand description

A field with Poseidon parameters associated

Provided Methods§

source

fn default_poseidon_parameters<const RATE: usize>( ) -> Result<PoseidonParameters<Self, RATE, 1>>
where Self: PrimeField,

Obtain the default Poseidon parameters for this rate and for this prime field, with a specific optimization goal.

Implementors§