Versions in this module Expand all Collapse all v1 v1.0.0 May 26, 2022 Changes in this version + const ExpandedPrivateKeySize + var ErrBadKeyLen = errors.New("bad key length") + var ErrBadKeyStr = errors.New("bad key string") + func Ed25519InnerSign(privateKey ExpandedPrivateKey, message []byte) []byte + func NewXKeys(r io.Reader) (xprv XPrv, xpub XPub, err error) + func XPubKeys(xpubs []XPub) []ed25519.PublicKey + type ExpandedPrivateKey []byte + func (priv ExpandedPrivateKey) Public() crypto.PublicKey + func (priv ExpandedPrivateKey) Sign(rand io.Reader, message []byte, opts crypto.SignerOpts) (signature []byte, err error) + type XPrv [64]byte + func NewXPrv(r io.Reader) (xprv XPrv, err error) + func RootXPrv(seed []byte) (xprv XPrv) + func (xprv *XPrv) UnmarshalText(inp []byte) error + func (xprv XPrv) Bytes() []byte + func (xprv XPrv) Child(sel []byte, hardened bool) XPrv + func (xprv XPrv) Derive(path [][]byte) XPrv + func (xprv XPrv) ExpandedPrivateKey() ExpandedPrivateKey + func (xprv XPrv) MarshalText() ([]byte, error) + func (xprv XPrv) Sign(msg []byte) []byte + func (xprv XPrv) String() string + func (xprv XPrv) XPub() (xpub XPub) + type XPub [64]byte + func DeriveXPubs(xpubs []XPub, path [][]byte) []XPub + func (xpub *XPub) UnmarshalText(inp []byte) error + func (xpub XPub) Bytes() []byte + func (xpub XPub) Child(sel []byte) (res XPub) + func (xpub XPub) Derive(path [][]byte) XPub + func (xpub XPub) MarshalText() ([]byte, error) + func (xpub XPub) PublicKey() ed25519.PublicKey + func (xpub XPub) String() string + func (xpub XPub) Verify(msg []byte, sig []byte) bool