openvm_native_recursion::digest

Trait CanPoseidon2Digest

Source
pub trait CanPoseidon2Digest<C: Config> {
    // Required method
    fn p2_digest(&self, builder: &mut Builder<C>) -> DigestVariable<C>;
}

Required Methods§

Source

fn p2_digest(&self, builder: &mut Builder<C>) -> DigestVariable<C>

Implementations on Foreign Types§

Source§

impl<C: Config> CanPoseidon2Digest<C> for Array<C, Array<C, Ext<C::F, C::EF>>>

Source§

fn p2_digest(&self, builder: &mut Builder<C>) -> DigestVariable<C>

Source§

impl<C: Config> CanPoseidon2Digest<C> for Array<C, Array<C, Felt<C::F>>>

Source§

fn p2_digest(&self, builder: &mut Builder<C>) -> DigestVariable<C>

Implementors§