decryptNip04
Decrypt NIP-04 ciphertext messages from a specific sender by providing your private key and the sender's public key, restoring the original plaintext.
Instructions
Decrypt NIP-04 ciphertext
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ciphertext | Yes | NIP-04 encrypted text | |
| senderPubkey | Yes | Sender pubkey (hex or npub) | |
| privateKey | No | Private key (nsec or hex). Optional when NOSTR_BUNKER_URI is configured. |