pub trait FieldHasher<F: WithSmallOrderMulGroup<3> + Ord, const L: usize>: Clone {
    // Required methods
    fn hash(&self, inputs: [F; L]) -> F;
    fn hasher() -> Self;
}

Required Methods§

source

fn hash(&self, inputs: [F; L]) -> F

source

fn hasher() -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<F: WithSmallOrderMulGroup<3> + Ord, const L: usize> FieldHasher<F, L> for Poseidon<F, L>
where P128Pow5T3: Spec<F, 3, 2>,