nostr-websocket-utils / decryptDM
decryptDM(
message,recipientPrivkey,senderPubkey,logger):Promise<string>
Defined in: nips/nip-04.ts:54
Decrypts a received direct message event
Received message
string
Recipient’s private key
string
Sender’s public key
Logger instance
Promise<string>
Decrypted message content