Versions in this module Expand all Collapse all v1 v1.0.1 May 6, 2021 Changes in this version + func BasePolynomial(j int, xs []*big.Int, field GF) *big.Int + type GF struct + P *big.Int + func NewGF(order *big.Int) (GF, error) + func (gf *GF) Add(a *big.Int, b *big.Int) *big.Int + func (gf *GF) Div(a *big.Int, b *big.Int) *big.Int + func (gf *GF) Exp(b *big.Int, e *big.Int) *big.Int + func (gf *GF) IsGroupElement(x *big.Int) bool + func (gf *GF) Mul(a *big.Int, b *big.Int) *big.Int + func (gf *GF) MultInverse(a *big.Int) *big.Int + func (gf *GF) Rand() (*big.Int, error) + func (gf *GF) RandomPolynomial(degree int) (Polynomial, error) + func (gf *GF) Sub(a *big.Int, b *big.Int) *big.Int + type Polynomial struct + Coefficients []*big.Int + Field GF + func NewPolynomial(degree int, field GF) (Polynomial, error) + func (pol *Polynomial) Degree() int + func (pol *Polynomial) Evaluate(x *big.Int) (*big.Int, error) + func (pol *Polynomial) String() string v1.0.0 May 4, 2021