bulletproofs-0.1.0

Safe HaskellNone
LanguageHaskell2010

Bulletproofs.InnerProductProof.Prover

Synopsis

Documentation

generateProof Source #

Arguments

:: InnerProductBase

Generators Gs, Hs, h

-> Point

Commitment P = A + xS − zG + (z*y^n + z^2 * 2^n) * hs' of vectors l and r whose inner product is t

-> InnerProductWitness

Vectors l and r that hide bit vectors aL and aR, respectively

-> InnerProductProof 

Generate proof that a witness l, r satisfies the inner product relation on public input (Gs, Hs, h)