mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
ajusts decrypt tag
This commit is contained in:
parent
ac515573a0
commit
9d69bd05dc
2
94.md
2
94.md
|
@ -22,7 +22,7 @@ This NIP specifies the use of the `30063` event type (parameterized replaceable
|
||||||
"tags": [
|
"tags": [
|
||||||
["d", <string with name of file>],
|
["d", <string with name of file>],
|
||||||
["url",<string with URL of file>],
|
["url",<string with URL of file>],
|
||||||
["decrypt",<algorithm>,<key>],
|
["decrypt",<algorithm>,<Decryption Params>],
|
||||||
["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
|
["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
|
||||||
["hash",< SHA256 hexencoded string of the file>
|
["hash",< SHA256 hexencoded string of the file>
|
||||||
],
|
],
|
||||||
|
|
2
95.md
2
95.md
|
@ -23,7 +23,7 @@ The `NIP-94` can be used to broadcast the ID of that event, with the ` and ` tag
|
||||||
"kind": 30064,
|
"kind": 30064,
|
||||||
"tags": [
|
"tags": [
|
||||||
["d", <string with name of file>],
|
["d", <string with name of file>],
|
||||||
["decrypt",<algorithm>,<key>],
|
["decrypt",<algorithm>,<Decryption Params>],
|
||||||
["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
|
["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
|
||||||
["hash",< SHA256 hexencoded string of the raw data>]
|
["hash",< SHA256 hexencoded string of the raw data>]
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user