Trait snarkvm_fields::traits::PoseidonDefaultField
source · 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§
sourcefn default_poseidon_parameters<const RATE: usize>(
) -> Result<PoseidonParameters<Self, RATE, 1>>where
Self: PrimeField,
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.