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

pub fn poseidon_hash<CS, E, A>(
    mut cs: CS,
    preimage: Vec<AllocatedNum<E>>,
    constants: &PoseidonConstants<E, A>
) -> Result<AllocatedNum<E>, SynthesisError> where
    CS: ConstraintSystem<E>,
    E: Engine,
    A: Arity<E::Fr>, 

Create circuit for Poseidon hash.