Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMnemonic ¶
Types ¶
type ExtendedSigningKey ¶
type ExtendedSigningKey []byte
ExtendedSigningKey is the extended private key (64 bytes) appended with the chain code (32 bytes)
func DeriveSigningKey ¶
func DeriveSigningKey(xsk ExtendedSigningKey, index uint32) ExtendedSigningKey
func NewExtendedSigningKey ¶
func NewExtendedSigningKey(entropy []byte, password string) ExtendedSigningKey
func (*ExtendedSigningKey) ExtendedVerificationKey ¶
func (xsk *ExtendedSigningKey) ExtendedVerificationKey() ExtendedVerificationKey
func (*ExtendedSigningKey) Sign ¶
func (xsk *ExtendedSigningKey) Sign(message []byte) []byte
type ExtendedVerificationKey ¶
type ExtendedVerificationKey []byte
ExtendedVerificationKey is the public key (32 bytes) appended with the chain code (32 bytes)
func DeriveVerificationKey ¶
func DeriveVerificationKey(xvk ExtendedVerificationKey, index uint32) (ExtendedVerificationKey, error)
func (*ExtendedVerificationKey) Verify ¶
func (xvk *ExtendedVerificationKey) Verify(message, signature []byte) bool
Click to show internal directories.
Click to hide internal directories.