Trait snarkvm_wasm::PoseidonMDSField [−][src]
pub trait PoseidonMDSField: PrimeField { fn poseidon_mds_matrix() -> Vec<Vec<Self, Global>, Global>; fn poseidon_alpha() -> u64; fn poseidon_number_full_rounds() -> u32; fn poseidon_number_partial_rounds() -> u32; }
Expand description
The interface for a prime field with Poseidon MDS matrix.
Required methods
fn poseidon_alpha() -> u64
fn poseidon_alpha() -> u64
Returns the Poseidon alpha value
fn poseidon_number_full_rounds() -> u32
fn poseidon_number_full_rounds() -> u32
Returns the Poseidon number of full rounds
Returns the Poseidon number of partial rounds