PrivateKey class
Constructors
- PrivateKey(Uint8List keyBytes)
- PrivateKey.fromHex(String hex)
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Uint8List message, Uint8List prefix) → Uint8List - Sign signs the message with privateKey and returns a signature. It will throw ArumentError if privateKey.bytes.length is not PrivateKeySize.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- keySize → const int
- signatureSize → const int