Nip44 class

NIP-44 encryption and decryption functions.

Annotations
  • @experimental

Constructors

Nip44()

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

computeSharedSecret(String privateKeyHex, String publicKeyHex) Uint8List
decryptMessage(String payload, String recipientPrivateKey, String senderPublicKey, {Uint8List? customConversationKey}) Future<String>
deriveConversationKey(Uint8List sharedSecret) Uint8List
encryptMessage(String plaintext, String senderPrivateKey, String recipientPublicKey, {Uint8List? customNonce, Uint8List? customConversationKey}) Future<String>