Crypto class
Crypto
Constructors
- Crypto()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getPrivateKeyFromSeed(
Uint8List seed) → Future< Uint8List> - getPublicKeyFromPrivateKey
-
getPublicKeyFromPrivateKey(
Uint8List privateKey) → Future< Uint8List> - getPublicKeyFromPrivateKey
-
getSeedFromPrivateKey(
Uint8List privateKey) → Future< Uint8List> - getSeedFromPrivateKey
-
sign(
Uint8List privateKey, Uint8List data) → Future< Uint8List> - sign signs the given message with priv
-
verify(
Uint8List publicKey, Uint8List data, Uint8List signature) → Future< bool> - verify reports whether sig is a valid signature of message by publicKey.