ECPair class
Constructors
- ECPair(Uint8List? _d, Uint8List? _Q, {dynamic network, dynamic 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 -
signMessage(
String message, [NetworkType? network, SegwitType segwitType = seg.SegwitType.None, bool compressed = true]) → String -
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