fn poseidon<SC: SpongeConstants>(
input: &[Fp],
params: &'static ArithmeticSpongeParams<Fp>,
) -> Fp
Expand description
Computes the poseidon hash of several field elements. Uses the ‘basic’ configuration with N states and M rounds.
fn poseidon<SC: SpongeConstants>(
input: &[Fp],
params: &'static ArithmeticSpongeParams<Fp>,
) -> Fp
Computes the poseidon hash of several field elements. Uses the ‘basic’ configuration with N states and M rounds.