Function generate_proof

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

Generates a semaphore proof

ยงErrors

Returns a ProofError if proving fails.