Versions in this module Expand all Collapse all v0 v0.1.1 Feb 8, 2015 Changes in this version + var Order = bigFromBase10(...) + type G1 struct + func RandomG1(r io.Reader) (*big.Int, *G1, error) + func (e *G1) Add(a, b *G1) *G1 + func (e *G1) Marshal() []byte + func (e *G1) Neg(a *G1) + func (e *G1) ScalarBaseMult(k *big.Int) *G1 + func (e *G1) ScalarMult(base *G1, k *big.Int) *G1 + func (e *G1) String() string + func (e *G1) Unmarshal(m []byte) (*G1, bool) + type G2 struct + func RandomG2(r io.Reader) (*big.Int, *G2, error) + func (e *G2) Add(a, b *G2) *G2 + func (e *G2) Marshal() []byte + func (e *G2) Neg(a *G2) + func (e *G2) ScalarBaseMult(k *big.Int) *G2 + func (e *G2) ScalarMult(base *G2, k *big.Int) *G2 + func (e *G2) String() string + func (e *G2) Unmarshal(m []byte) (*G2, bool) + type GT struct + func Pair(g1 *G1, g2 *G2) *GT + func (e *GT) Add(a, b *GT) *GT + func (e *GT) Marshal() []byte + func (e *GT) Neg(a *GT) *GT + func (e *GT) ScalarMult(base *GT, k *big.Int) *GT + func (e *GT) String() string + func (e *GT) Unmarshal(m []byte) (*GT, bool)