Nip04 class abstract

An abstract class that provides functionality to encrypt and decrypt direct messages.

Constructors

Nip04()
A factory constructor that returns an implementation of the Nip04 class.
factory

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 key privKey of the receiver and the public key pubKey of the sender.
encrypt(String privKey, String pubKey, String text) String
Encrypts the text using the private key privKey of the sender and the public key pubKey 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