ECPair class
- Inheritance
-
- Object
- Signer
- ECPairInterface
- ECPair
Constructors
- ECPair({Uint8List? D, Uint8List? Q, ECPairOptions? options})
- ECPair.fromPrivateKey(Uint8List privateKey, [ECPairOptions? options])
-
Get ECPair instance from private key
factory
- ECPair.fromPublicKey(Uint8List publicKey, [ECPairOptions? options])
-
Get ECPair instance from public key
factory
- ECPair.fromWIF(String privateKey, [dynamic network])
-
Get ECPair instance from WIF
factory
- ECPair.makeRandom([ECPairOptions? options])
-
Make Random Pair
factory
Properties
- compressed ↔ bool
-
Is Compressed ?
getter/setter pairoverride
- D ↔ Uint8List?
-
ECPoint (D)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- network ↔ Network
-
Network
getter/setter pairoverride
- options ↔ ECPairOptions
-
Options
getter/setter pair
- privateKey → Uint8List?
-
Get Private Key
no setteroverride
- privateKeyHex → String?
-
Get Private Key Hex String
no setter
- publicKey → Uint8List
-
Get Public Key
no setteroverride
- publicKeyHex → String
-
Get Public Key Hex String
no setter
- Q ↔ Uint8List?
-
ECPoint (Q)
getter/setter pair
- 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 -
Sign
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toWIF(
) → String -
ECPair to WIF String
override
-
verify(
Uint8List hash, Uint8List signature) → bool -
Verify Signature
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited