Versions in this module Expand all Collapse all v1 v1.0.1 Sep 15, 2018 Changes in this version type PrivateKey + func NewPrivateKey(d *big.Int) *PrivateKey v1.0.0 Dec 24, 2014 Changes in this version + func CheckWIF(wif string) (valid bool, err error) + type EllipticCurve struct + A *big.Int + B *big.Int + G Point + H *big.Int + N *big.Int + P *big.Int + func (ec *EllipticCurve) Add(P, Q Point) (R Point) + func (ec *EllipticCurve) Decompress(x *big.Int, ylsb uint) (P Point, err error) + func (ec *EllipticCurve) IsInfinity(P Point) bool + func (ec *EllipticCurve) IsOnCurve(P Point) bool + func (ec *EllipticCurve) ScalarBaseMult(k *big.Int) (Q Point) + func (ec *EllipticCurve) ScalarMult(k *big.Int, P Point) (Q Point) + type Point struct + X *big.Int + Y *big.Int + type PrivateKey struct + D *big.Int + func GenerateKey(rand io.Reader) (priv PrivateKey, err error) + func (priv *PrivateKey) FromBytes(b []byte) (err error) + func (priv *PrivateKey) FromWIF(wif string) (err error) + func (priv *PrivateKey) ToBytes() (b []byte) + func (priv *PrivateKey) ToWIF() (wif string) + func (priv *PrivateKey) ToWIFC() (wifc string) + type PublicKey struct + func (pub *PublicKey) FromBytes(b []byte) (err error) + func (pub *PublicKey) ToAddress() (address string) + func (pub *PublicKey) ToAddressUncompressed() (address string) + func (pub *PublicKey) ToBytes() (b []byte) + func (pub *PublicKey) ToBytesUncompressed() (b []byte)