Skip to main content

PoseidonHasherKimchi

Type Alias PoseidonHasherKimchi 

Source
pub type PoseidonHasherKimchi<H> = Poseidon<PlonkSpongeConstantsKimchi, H, FULL_ROUNDS>;
Expand description

Poseidon hasher type with experimental kimchi plonk sponge constants

Aliased Type§

pub struct PoseidonHasherKimchi<H> {
    sponge: ArithmeticSponge<Fp<MontBackend<FqConfig, 4>, 4>, PlonkSpongeConstantsKimchi, 55>,
    sponge_state: SpongeState,
    pub state: Vec<Fp<MontBackend<FqConfig, 4>, 4>>,
    phantom: PhantomData<H>,
}

Fields§

§sponge: ArithmeticSponge<Fp<MontBackend<FqConfig, 4>, 4>, PlonkSpongeConstantsKimchi, 55>§sponge_state: SpongeState§state: Vec<Fp<MontBackend<FqConfig, 4>, 4>>

The state of the sponge

§phantom: PhantomData<H>