Versions in this module Expand all Collapse all v1 v1.0.0 Nov 5, 2018 Changes in this version + func Compress(curve elliptic.Curve, x, y *big.Int) []byte + func Marshal(curve elliptic.Curve, x, y *big.Int, compress bool) []byte + func Secp256k1() elliptic.Curve + func Sha256(data []byte) []byte + type CurveParams struct + B *big.Int + BitSize int + Gx *big.Int + Gy *big.Int + N *big.Int + Name string + P *big.Int + func (curve *CurveParams) Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int) + func (curve *CurveParams) Double(x1, y1 *big.Int) (x, y *big.Int) + func (curve *CurveParams) IsOnCurve(x, y *big.Int) bool + func (curve *CurveParams) Params() *elliptic.CurveParams + func (curve *CurveParams) ScalarBaseMult(k []byte) (x, y *big.Int) + func (curve *CurveParams) ScalarMult(Bx, By *big.Int, k []byte) (x, y *big.Int) + type HmacDRBG struct + func NewHmacDRBG(entropy, nonce, pers []byte) *HmacDRBG + func (h *HmacDRBG) Generate(byteLength int32, input []byte) ([]byte, error) + func (h *HmacDRBG) Reseed(entropy []byte, input []byte) error