Versions in this module Expand all Collapse all v1 v1.3.4 Oct 25, 2021 Changes in this version + var ErrNumSharesBelowThreshold = fmt.Errorf("not enough shares to satisfy the threshold") + func Create(ec elliptic.Curve, threshold int, secret *big.Int, indexes []*big.Int) (Vs, Shares, error) + type Share struct + ID *big.Int + Share *big.Int + Threshold int + func (share *Share) Verify(ec elliptic.Curve, threshold int, vs Vs) bool + type Shares []*Share + func (shares Shares) ReConstruct(ec elliptic.Curve) (secret *big.Int, err error) + type Vs []*crypto.ECPoint