mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
NIP90 - replace Nip04 encryption with NIP44 encryption
This commit is contained in:
parent
788ffb03a0
commit
0e1bc27400
2
90.md
2
90.md
|
@ -69,7 +69,7 @@ All tags are optional.
|
||||||
|
|
||||||
## Encrypted Params
|
## 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
|
```json
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue
Block a user