Bip39Cn class

Inheritance

Constructors

Bip39Cn({Uint8List? seed, String? mnemonic})

Properties

hashCode int
The hash code for this object.
no setterinherited
mnemonic String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed Uint8List?
getter/setter pairinherited
worldList List<String>
getter/setter pairinherited
worldListSpace String
getter/setter pairinherited

Methods

check() bool
Check that a mnemonic is valid. This means there should be no superfluous whitespace, no invalid words, and the checksum should match.
inherited
entropy2Mnemonic(Uint8List buf) Bip39
Generate a new mnemonic from some entropy generated somewhere else. The entropy must be at least 128 bits.
inherited
fromBr(Br br) Bip39
inherited
fromBuffer(List<int> buf) Bip39
inherited
fromEntropy(Uint8List buf) Bip39
inherited
fromRandom([int? bits]) Bip39
Generate a random new mnemonic from the wordlist.
inherited
fromString(String mnemonic) Bip39
inherited
isValid([String? passphrase]) bool
inherited
mnemonic2Seed([String? passphrase]) Bip39
Convert a mnemonic to a seed. Does not check for validity of the mnemonic - for that, you should manually run check() first.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBuffer() List<int>
inherited
toBw([Bw? bw]) Bw
inherited
toSeed([String? passphrase]) Uint8List?
inherited
toString() String
A string representation of this object.
inherited

Operators

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