add hash tag

This commit is contained in:
frbittencourt 2023-03-09 14:08:52 +00:00 committed by fiatjaf_
parent 0ef5486e56
commit 8ea7c51f9b
2 changed files with 2 additions and 0 deletions

1
94.md
View File

@ -24,6 +24,7 @@ This NIP specifies the use of the `30063` event type (parameterized replaceable
["url",<string with URL of file>],
["decrypt",<algorithm>,<key>],
["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
["hash",< SHA256 hexencoded string of the file>
],
"content": <description>,
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>

1
95.md
View File

@ -25,6 +25,7 @@ The `NIP-94` can be used to broadcast the ID of that event, with the ` and ` tag
["d", <string with name of file>],
["decrypt",<algorithm>,<key>],
["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
["hash",< SHA256 hexencoded string of the raw data>]
],
"content": <string with base64 data>,
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>