package
0.0.0-20200604101126-5bd6cff2be45
Repository: https://github.com/bcbchain/bclib.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GenerateSeed returns a cryptographically secure random seed that can be used as the input for the NewMaster function to generate a new master node.
No description provided by the author
No description provided by the author
NewExtendedKey returns a new instance of an extended key with the given fields.
NewKeyFromString returns a new extended key instance from a base58-encoded extended key.
NewMaster creates a new master node for use in creating a hierarchical deterministic key chain.
No description provided by the author
ParseDerivationPath converts a user specified derivation path string to the internal binary representation.
No description provided by the author

# Constants

# Variables

DefaultBaseDerivationPath is the base path from which custom derivation endpoints are incremented.
DefaultRootDerivationPath is the root path to which custom derivation endpoints are appended.
ErrBadChecksum describes an error in which the checksum encoded with a serialized extended key does not match the calculated value.
ErrDeriveBeyondMaxDepth describes an error in which the caller has attempted to derive more than 255 keys from a root key.
ErrDeriveHardFromPublic describes an error in which the caller attempted to derive a hardened extended key from a public key.
ErrInvalidChild describes an error in which the child at a specific index is invalid due to the derived key falling outside of the valid range for secp256k1 private keys.
ErrInvalidKeyLen describes an error in which the provided serialized key is not the expected length.
ErrInvalidSeedLen describes an error in which the provided seed or seed length is not in the allowed range.
ErrNotPrivExtKey describes an error in which the caller attempted to extract a private key from a public extended key.
ErrUnusableSeed describes an error in which the provided seed is not usable due to the derived key falling outside of the valid range for secp256k1 private keys.
LegacyLedgerBaseDerivationPath is the legacy base path from which custom derivation endpoints are incremented.

# Structs

ExtendedKey houses all the information needed to support a hierarchical deterministic extended key.
No description provided by the author

# Type aliases

DerivationPath represents the computer friendly version of a hierarchical deterministic wallet account derivaion path.