pub trait PoseidonDefaultParameters {
    const PARAMS_OPT_FOR_CONSTRAINTS: [PoseidonDefaultParametersEntry; 7];
}
Expand description

A trait for default Poseidon parameters associated with a prime field

Required Associated Constants§

source

const PARAMS_OPT_FOR_CONSTRAINTS: [PoseidonDefaultParametersEntry; 7]

An array of the parameters optimized for constraints (rate, alpha, full_rounds, partial_rounds, skip_matrices) for rate = 2, 3, 4, 5, 6, 7, 8

Here, skip_matrices denote how many matrices to skip before finding one that satisfy all the requirements.

Implementors§