Expand description
Mina Poseidon hasher
An implementation of Minaβs hasher based on the poseidon arithmetic sponge
Re-exportsΒ§
use alloc::vec;πuse alloc::vec;πuse alloc::vec::Vec;πuse core::marker::PhantomData;πuse crate::DomainParameter;πuse mina_curves::pasta::Fp;πuse mina_poseidon::constants::PlonkSpongeConstantsKimchi;πuse mina_poseidon::constants::PlonkSpongeConstantsLegacy;πuse mina_poseidon::constants::SpongeConstants;πuse mina_poseidon::pasta;πuse mina_poseidon::pasta::FULL_ROUNDS;πuse mina_poseidon::poseidon::ArithmeticSponge;πuse mina_poseidon::poseidon::ArithmeticSpongeParams;πuse mina_poseidon::poseidon::Sponge;πuse mina_poseidon::poseidon::SpongeState;πuse super::domain_prefix_to_field;πuse super::Hashable;πuse super::Hasher;π
StructsΒ§
- Poseidon
- Poseidon hasher context
FunctionsΒ§
- new_
kimchi π - Create an experimental kimchi hasher context
- new_
legacy π - Create a legacy hasher context
Type AliasesΒ§
- Poseidon
Hasher Kimchi - Poseidon hasher type with experimental kimchi plonk sponge constants
- Poseidon
Hasher Legacy - Poseidon hasher type with legacy plonk sponge constants