Trait arkworks_gadgets::poseidon::field_hasher::FieldHasher
source · [−]pub trait FieldHasher<F: PrimeField> {
fn hash(&self, inputs: &[F]) -> Result<F, PoseidonError>;
fn hash_two(&self, left: &F, right: &F) -> Result<F, PoseidonError>;
}