NIP90 - replace Nip04 encryption with NIP44 encryption

This commit is contained in:
Believethehype 2024-08-02 10:57:38 +02:00
parent 788ffb03a0
commit 0e1bc27400

2
90.md
View File

@ -69,7 +69,7 @@ All tags are optional.
## Encrypted Params
If the user wants to keep the input parameters a secret, they can encrypt the `i` and `param` tags with the service provider's 'p' tag and add it to the content field. Add a tag `encrypted` as tags. Encryption for private tags will use [NIP-04 - Encrypted Direct Message encryption](https://github.com/nostr-protocol/nips/blob/master/04.md), using the user's private and service provider's public key for the shared secret
If the user wants to keep the input parameters a secret, they can encrypt the `i` and `param` tags with the service provider's 'p' tag and add it to the content field. Add a tag `encrypted` as tags. Encryption for private tags will use [NIP-44 - Encrypted Payloads](https://github.com/nostr-protocol/nips/blob/master/44.md), using the user's private and service provider's public key for the shared secret
```json
[