pub type PoseidonHasherLegacy<H> = Poseidon<PlonkSpongeConstantsLegacy, H, 100>;Expand description
Poseidon hasher type with legacy plonk sponge constants
Aliased Type§
pub struct PoseidonHasherLegacy<H> {
sponge: ArithmeticSponge<Fp<MontBackend<FqConfig, 4>, 4>, PlonkSpongeConstantsLegacy, 100>,
sponge_state: SpongeState,
pub state: Vec<Fp<MontBackend<FqConfig, 4>, 4>>,
phantom: PhantomData<H>,
}Fields§
§sponge: ArithmeticSponge<Fp<MontBackend<FqConfig, 4>, 4>, PlonkSpongeConstantsLegacy, 100>§sponge_state: SpongeState§state: Vec<Fp<MontBackend<FqConfig, 4>, 4>>The state of the sponge
phantom: PhantomData<H>