aztec-nr - std::hash

Trait Hasher

pub trait Hasher {
    // Required methods
    pub fn finish(self) -> Field;
    pub fn write(&mut self: &mut Self, input: Field);
}

Required methods

pub fn finish(self) -> Field pub fn write(&mut self: &mut Self, input: Field)

Implementors

impl Hasher for Poseidon2Hasher

impl Hasher for Poseidon2Hasher

impl Hasher for PoseidonHasher