[][src]Function neptune::circuit::poseidon_hash

pub fn poseidon_hash<CS, E, Arity>(
    cs: CS,
    preimage: Vec<AllocatedNum<E>>,
    constants: &PoseidonConstants<E, Arity>
) -> Result<AllocatedNum<E>, SynthesisError> where
    CS: ConstraintSystem<E>,
    E: Engine,
    Arity: Unsigned + Add<B1> + Add<UInt<UTerm, B1>>,
    Add1<Arity>: ArrayLength<E::Fr>, 

Create circuit for Poseidon hash.