bulletproofs-0.4.0

Safe HaskellNone
LanguageHaskell2010

Bulletproofs.ArithmeticCircuit.Prover

Synopsis

Documentation

generateProof :: forall f m. (MonadRandom m, AsInteger f, Field f, Show f, Eq f) => ArithCircuit f -> ArithWitness f -> m (ArithCircuitProof f) Source #

Generate a zero-knowledge proof of computation for an arithmetic circuit with a valid witness