Function snarkvm_wasm::groth16::create_random_proof[][src]

pub fn create_random_proof<E, C, R>(
    circuit: &C,
    params: &ProvingKey<E>,
    rng: &mut R
) -> Result<Proof<E>, SynthesisError> where
    C: ConstraintSynthesizer<<E as PairingEngine>::Fr>,
    E: PairingEngine,
    R: Rng