Versions in this module Expand all Collapse all v0 v0.0.2 Feb 21, 2023 v0.0.1 Apr 14, 2022 Changes in this version + type Bn254 struct + func (*Bn254) ModAdd(a, b, m driver.Zr) driver.Zr + func (c *Bn254) FExp(a driver.Gt) driver.Gt + func (c *Bn254) FieldBytes() int + func (c *Bn254) GenG1() driver.G1 + func (c *Bn254) GenG2() driver.G2 + func (c *Bn254) GenGt() driver.Gt + func (c *Bn254) GroupOrder() driver.Zr + func (c *Bn254) HashToG1(data []byte) driver.G1 + func (c *Bn254) HashToZr(data []byte) driver.Zr + func (c *Bn254) ModMul(a1, b1, m driver.Zr) driver.Zr + func (c *Bn254) ModNeg(a1, m driver.Zr) driver.Zr + func (c *Bn254) ModSub(a, b, m driver.Zr) driver.Zr + func (c *Bn254) NewG1() driver.G1 + func (c *Bn254) NewG1FromBytes(b []byte) driver.G1 + func (c *Bn254) NewG1FromCoords(ix, iy driver.Zr) driver.G1 + func (c *Bn254) NewG2() driver.G2 + func (c *Bn254) NewG2FromBytes(b []byte) driver.G2 + func (c *Bn254) NewGtFromBytes(b []byte) driver.Gt + func (c *Bn254) NewRandomZr(rng io.Reader) driver.Zr + func (c *Bn254) NewZrFromBytes(b []byte) driver.Zr + func (c *Bn254) NewZrFromInt(i int64) driver.Zr + func (c *Bn254) Pairing(p2 driver.G2, p1 driver.G1) driver.Gt + func (c *Bn254) Pairing2(p2a, p2b driver.G2, p1a, p1b driver.G1) driver.Gt + func (c *Bn254) Rand() (io.Reader, error)