bitcoins.hdkeychain library

Classes

ExtendedKey

Constants

HARDENED_KEY_START → const int
HARDENED_KEY_START is the index at which a hardended key starts. Each extended key has 2^31 normal child keys and 2^31 hardned child keys. Thus the range for normal child keys is 0, 2^31 - 1 and the range for hardened child keys is 2^31, 2^32 - 1.
0x80000000
MAX_SEED_BYTES → const int
MaxSeedBytes is the maximum number of bytes allowed for a seed to a master node.
64
MIN_SEED_BYTES → const int
MinSeedBytes is the minimum number of bytes allowed for a seed to a master node.
16
serializedKeyLen → const int
serializedKeyLen is the length of a serialized public or private extended key. It consists of 4 bytes version, 1 byte depth, 4 bytes fingerprint, 4 bytes child number, 32 bytes chain code, and 33 bytes public/private key data.
4 + 1 + 4 + 4 + 32 + 33

Properties

ecc ECDomainParameters
ecc
final

Functions

hash160(Uint8List buffer) Uint8List
hash160 returns RIPEMD160(SHA256(v)).
hmacSHA512(Uint8List key, Uint8List data) Uint8List
hmacSHA512 returns HMAC SHA-512.