Function generate_proof_rng

Source
pub fn generate_proof_rng(
    identity: &Identity,
    merkle_proof: &InclusionProof<Poseidon>,
    external_nullifier_hash: Field,
    signal_hash: Field,
    rng: &mut impl Rng,
) -> Result<Proof, ProofError>
Expand description

Generates a semaphore proof from entropy

ยงErrors

Returns a ProofError if proving fails.