bulletproofs-0.1.0

Safe HaskellNone
LanguageHaskell2010

Bulletproofs.Curve

Synopsis

Documentation

q :: Integer Source #

Order of the curve

g :: Point Source #

Generator of the curve

h :: Point Source #

H = aG where a is not known

gs :: [Point] Source #

Generate vector of generators in a deterministic way from the curve generator g by applying H(encode(g) || i) where H is a secure hash function

hs :: [Point] Source #

Generate vector of generators in a deterministic way from the curve generator h by applying H(encode(h) || i) where H is a secure hash function

oracle :: ByteString -> Integer Source #

A random oracle. In the Fiat-Shamir heuristic, its input is specifically the transcript of the interaction up to that point.

p :: Integer Source #

Characteristic of the underlying finite field of the elliptic curve

generateH :: Point -> [Char] -> Point Source #

Iterative algorithm to generate H. The important thing about the H value is that nobody gets to know its discrete logarithm "k" such that H = kG