Bip32Ed25519 class

This is the dart implementation of the BIP32-Ed25519 Hierarchical Deterministic Keys over a Non-linear Key space key derivation algorithm.

Inheritance
Mixed in types
Implementers

Constructors

Bip32Ed25519(Uint8List seed)
It creates a BIP32-ED25519 specific key tree from a master seed. The master seed is an n-bit entropy, that can come from different sources. E.g. From some bip-0039 tool, CPRNG etc.
Bip32Ed25519.import(String encodedKey)
It creates a sub key tree from a, usually Bech32, decoded, Bip32-Ed25519 compatible private or public key.
Bip32Ed25519.importFromKey(Bip32Key key)
It creates a sub key tree from an imported BIP-ED25519 compatible private/signing or public/verifying key.
Bip32Ed25519.seed(String masterSeedHex)
It creates a BIP32-ED25519 specific key tree from a hex string representation of the master seed, which is a hex string representation of an n-bit length entropy, that can come from different sources. E.g. From some bip-0039 tool, CPRNG etc.

Properties

hashCode int
The hash code for this object.
no setterinherited
isPrivate bool
no setterinherited
root Bip32Key
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ckdPriv(Bip32PrivateKey parentKey, int index) Bip32PrivateKey
Public parent key to public child key
inherited
ckdPub(Bip32PublicKey parentKey, int index) Bip32PublicKey
Public parent key to public child key
inherited
doImport(String key) Bip32Key
override
master(Uint8List seed) Bip32Key
The default implementation of the original BIP32-ED25519's master key generation.
override
neuterPriv(Bip32PrivateKey k) Bip32PublicKey
Private parent key to public Child key
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pathToKey(String path) Bip32Key
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

maxDepth int
BIP32-ED25519 dependent tree depth. The maximum number of levels in the tree is 2^20 = 1048576. Tree datastructure's level = depth + 1 FIXME: BIP32-ED25519 specific depth check
final