upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/94.md
diff options
context:
space:
mode:
authorFernando Bittencourt <frbitten@gmail.com>2023-03-17 13:29:55 +0000
committerfiatjaf_ <fiatjaf@gmail.com>2023-04-20 08:06:14 -0300
commitfddce814a37e66ba9eaf1f1f1f089ce7761309ec (patch)
treeb24e7a905cdcf23b9b9e3b2df125f747e16f1b0e /94.md
parent2b8f12caab99f465785d17e5ac3532e52ca9c93e (diff)
Update 94.md
change tag hash with suggestion by arthurfranca Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
Diffstat (limited to '94.md')
-rw-r--r--94.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/94.md b/94.md
index 21eefc9..13cd231 100644
--- a/94.md
+++ b/94.md
@@ -11,6 +11,7 @@ This NIP specifies the use of the `30063` event type (parameterized replaceable
11* `url` the url to download the file 11* `url` the url to download the file
12* `type` a string indicating the data type of the file. The MIME types format must be used (https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) 12* `type` a string indicating the data type of the file. The MIME types format must be used (https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types)
13* `decrypt` (optional) If the file is encrypted, you must indicate in the first value the algorithm used to encrypt the file and in the second value the parameters that allow the decryption of the file 13* `decrypt` (optional) If the file is encrypted, you must indicate in the first value the algorithm used to encrypt the file and in the second value the parameters that allow the decryption of the file
14* `hash` containing the SHA-256 hexencoded string of the file or the BlurHash string (for images). The third array value is the lowercase chosen algorithm name: "sha256" or "blurhash".
14 15
15```json 16```json
16{ 17{