Nostrduino
Loading...
Searching...
No Matches
Public Member Functions
nostr::Nip04 Class Reference

#include <Nip04.h>

Public Member Functions

 Nip04 (const NostrLimits &limits=NostrLimits())
 
NostrString decrypt (NostrString &privateKeyHex, NostrString &senderPubKeyHex, NostrString content)
 
NostrString encrypt (NostrString &privateKeyHex, NostrString &recipientPubKeyHex, NostrString content)
 

Constructor & Destructor Documentation

◆ Nip04()

nostr::Nip04::Nip04 ( const NostrLimits limits = NostrLimits())
inlineexplicit

Member Function Documentation

◆ decrypt()

NostrString Nip04::decrypt ( NostrString privateKeyHex,
NostrString senderPubKeyHex,
NostrString  content 
)

◆ encrypt()

NostrString Nip04::encrypt ( NostrString privateKeyHex,
NostrString recipientPubKeyHex,
NostrString  content 
)

The documentation for this class was generated from the following files: