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 Curve interface + FExp func(Gt) Gt + FieldBytes func() int + GenG1 func() G1 + GenG2 func() G2 + GenGt func() Gt + GroupOrder func() Zr + HashToG1 func(data []byte) G1 + HashToZr func(data []byte) Zr + ModAdd func(a, b, m Zr) Zr + ModMul func(a1, b1, m Zr) Zr + ModNeg func(a1, m Zr) Zr + ModSub func(a, b, m Zr) Zr + NewG1 func() G1 + NewG1FromBytes func(b []byte) G1 + NewG1FromCoords func(ix, iy Zr) G1 + NewG2 func() G2 + NewG2FromBytes func(b []byte) G2 + NewGtFromBytes func(b []byte) Gt + NewRandomZr func(rng io.Reader) Zr + NewZrFromBytes func(b []byte) Zr + NewZrFromInt func(i int64) Zr + Pairing func(G2, G1) Gt + Pairing2 func(p2a, p2b G2, p1a, p1b G1) Gt + Rand func() (io.Reader, error) + type G1 interface + Add func(G1) + Bytes func() []byte + Clone func(G1) + Copy func() G1 + Equals func(G1) bool + IsInfinity func() bool + Mul func(Zr) G1 + Mul2 func(e Zr, Q G1, f Zr) G1 + String func() string + Sub func(G1) + type G2 interface + Add func(G2) + Affine func() + Bytes func() []byte + Clone func(G2) + Copy func() G2 + Equals func(G2) bool + Mul func(Zr) G2 + String func() string + Sub func(G2) + type Gt interface + Bytes func() []byte + Equals func(Gt) bool + Exp func(Zr) Gt + Inverse func() + IsUnity func() bool + Mul func(Gt) + ToString func() string + type Zr interface + Bytes func() []byte + Clone func(a Zr) + Copy func() Zr + Equals func(Zr) bool + InvModP func(Zr) + Mod func(Zr) + Mul func(Zr) Zr + Plus func(Zr) Zr + PowMod func(Zr) Zr + String func() string