Structs§
- Poseidon2
Sponge - A Poseidon2 sponge configured for a specific state size
Tand fieldF. - Poseidon
Sponge - A Poseidon sponge configured for a specific state size
Tand fieldF.
Traits§
- Field
- A scalar field whose elements support addition (via
core::ops::Add) and round-tripping throughU256. - Poseidon2
Config - Poseidon
Config
Functions§
- poseidon2_
hash - Computes a Poseidon2 hash matching
noir-lang/poseidon’s Poseidon2 implementation. - poseidon_
hash - Computes a Poseidon hash. The sponge construction matches circom’s Poseidon implementation,