CryptoScheme class abstract
Constructors
- CryptoScheme(int seedSize)
-
const
Properties
Methods
-
derive(
List< int> seed, Iterable<DeriveJunction> path, {Uint8List? output}) → Future<Uint8List> - Derive a child key from a series of given junctions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
seedFromUri(
String uri, {String? password}) → Future< List< int> > -
Parses secret uri (
URI
) into a 32 bytes that can be used to generate a key pair. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generate(
{int words = 12}) → Mnemonic - BIP39: Since the vast majority of BIP39 wallets supports only the English wordlist, it is strongly discouraged to use non-English wordlists.
-
miniSecretFromEntropy(
List< int> entropy, {String password = ''}) → Future<List< int> > -
entropy
should be a byte array from a correctly recovered and checksumed BIP39. -
seedFromEntropy(
List< int> entropy, {String? password}) → Future<List< int> > -
Similar to
miniSecretFromEntropy
, except that it provides the 64-byte seed directly.