Skip to main content

poseidon

Function poseidon 

Source
fn poseidon<SC: SpongeConstants, const FULL_ROUNDS: usize>(
    input: &[Fp],
    params: &'static ArithmeticSpongeParams<Fp, FULL_ROUNDS>,
) -> Fp
Expand description

Computes the poseidon hash of several field elements. Uses the ‘basic’ configuration with N states and M rounds.