Nip04 class abstract
An abstract class that provides functionality to encrypt and decrypt direct messages.
Constructors
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
-
decrypt(
String privKey, String pubKey, String cipherText) → String -
Decrypts the
cipherText
using the private keyprivKey
of the receiver and the public keypubKey
of the sender. -
encrypt(
String privKey, String pubKey, String text) → String -
Encrypts the
text
using the private keyprivKey
of the sender and the public keypubKey
of the receiver. -
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