encryptNip44
Encrypt text using NIP-44 to send private messages on Nostr. Provide recipient's public key and your private key to produce an encrypted payload only the recipient can decrypt.
Instructions
Encrypt text with NIP-44
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plaintext | Yes | Text to encrypt | |
| recipientPubkey | Yes | Recipient pubkey (hex or npub) | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. |