CryptoScheme class abstract

Implementers

Constructors

CryptoScheme(int seedSize)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seedSize int
Size of the seed in bytes
final

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.

Constants

ecdsa → const Secp256k1
ed25519 → const Ed25519