ECPair class

Constructors

ECPair(Uint8List? _d, Uint8List? _Q, {NetworkType network = mainnet, bool compressed = true})
ECPair.fromPrivateKey(Uint8List privateKey, {NetworkType network = mainnet, bool compressed = true})
factory
ECPair.fromPublicKey(Uint8List publicKey, {NetworkType network = mainnet, bool compressed = true})
factory
ECPair.fromWIF(String w, {Map<int, NetworkType> networks = networks})
factory
ECPair.makeRandom({NetworkType network = mainnet, bool compressed = true, Function? rng})
factory

Properties

compressed bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
network NetworkType
getter/setter pair
privateKey Uint8List?
no setter
publicKey Uint8List?
no setter
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
sign(Uint8List hash) Uint8List
toString() String
A string representation of this object.
inherited
toWIF() String
verify(Uint8List hash, Uint8List signature) bool

Operators

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