Skip to main content

encrypt_nip44

Function encrypt_nip44 

Source
pub async fn encrypt_nip44<T>(
    signer: &T,
    receiver_pubkey: &PublicKey,
    plaintext: &str,
) -> Result<String>
where T: NostrSigner,
Expand description

Encrypt a message using NIP-44.