Bip39 class
Pure Dart implementation of BIP-39 mnemonic phrase generation and validation.
Supports generating, validating, and converting mnemonic phrases to seeds for hierarchical deterministic wallet generation.
Constructors
- Bip39()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generate(
{int strength = 128}) → List< String> - Generates a new mnemonic phrase with the specified entropy strength.
-
toSeed(
List< String> mnemonic, {String passphrase = ''}) → Uint8List - Converts a mnemonic phrase to a seed using PBKDF2.
-
validate(
List< String> mnemonic) → bool - Validates a mnemonic phrase according to BIP-39 specification.