ECPair class

Constructors

ECPair(Uint8List? d, Uint8List? Q, {NetworkType? network, bool? compressed})
ECPair.fromPrivateKey(Uint8List privateKey, {NetworkType? network, bool? compressed})
factory
ECPair.fromPublicKey(Uint8List publicKey, {NetworkType? network, bool? compressed})
factory
ECPair.fromWIF(String w, {NetworkType? network})
factory
ECPair.makeRandom({NetworkType? network, bool? compressed, 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
signSchnorr({required Uint8List message, String aux = ''}) → Uint8List
toString() → String
A string representation of this object.
inherited
ToTweak() → ECPair
toWIF() → String
verify(Uint8List hash, Uint8List signature) → bool

Operators

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