Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { // Version bytes. Version [4]byte // Depth, 0x00 for master nodes, 0x01 for level-1 derived keys, ... Depth [1]byte // Fingerprint of the parent's key (0x00000000 if master key). FingerPrint [4]byte // Child number (0x00000000 if master key). ChildNumber [4]byte // Chain code. ChainCode [32]byte // KeyData for the public/private key. PrivateKeyData [32]byte PublicKeyData [33]byte IsPublic bool // Internal use. }
func Deserialize ¶
func NewMasterKey ¶
A seed sequence between 128 and 512 bits; 256 bits is advised.
Click to show internal directories.
Click to hide internal directories.