Versions in this module Expand all Collapse all v6 v6.4.0 May 18, 2020 Changes in this version + var ErrInvalidVRF = errors.New("invalid VRF proof") + func GenerateKey() (vrfp.PrivateKey, vrfp.PublicKey) + func H1(m []byte) (x, y *big.Int) + func H2(m []byte) *big.Int + func Unmarshal(curve elliptic.Curve, data []byte) (x, y *big.Int) + type PrivateKey struct + func (k PrivateKey) Evaluate(m []byte) (index [32]byte, proof []byte) + func (k PrivateKey) Public() crypto.PublicKey + type PublicKey struct + func (pk *PublicKey) ProofToHash(m, proof []byte) (index [32]byte, err error) Other modules containing this package github.com/33cn/chain33