Struct arkworks_gadgets::poseidon::CRH [−][src]
pub struct CRH<F: PrimeField, P: Rounds> { /* fields omitted */ }
Trait Implementations
type Output = F
type Parameters = PoseidonParameters<F>
type ParametersVar = PoseidonParametersVar<F>
fn evaluate(
parameters: &Self::ParametersVar,
input: &[UInt8<F>]
) -> Result<Self::OutputVar, SynthesisError>
A simple implementation of TwoToOneCRH by asserting left and right input has same length and chain them together.
type Output = F
type Parameters = PoseidonParameters<F>
The bit size of the left input.
The bit size of the right input.