upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--94.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/94.md b/94.md
index ed9b68c..77944a0 100644
--- a/94.md
+++ b/94.md
@@ -16,7 +16,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
16* `m` a string indicating the data type of the file. The [MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) format must be used, and they should be lowercase. 16* `m` a string indicating the data type of the file. The [MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) format must be used, and they should be lowercase.
17* `"aes-256-gcm"` (optional) key and nonce for AES-GCM encryption with tagSize always 128bits 17* `"aes-256-gcm"` (optional) key and nonce for AES-GCM encryption with tagSize always 128bits
18* `x` containing the SHA-256 hexencoded string of the **transformed** file after any server transformations 18* `x` containing the SHA-256 hexencoded string of the **transformed** file after any server transformations
19* `xx` containing the SHA-256 hexencoded string of the **original** file before any server transformations 19* `ox` containing the SHA-256 hexencoded string of the **original** file before any server transformations
20* `size` (optional) size of file in bytes 20* `size` (optional) size of file in bytes
21* `dim` (optional) size of file in pixels in the form `<width>x<height>` 21* `dim` (optional) size of file in pixels in the form `<width>x<height>`
22* `magnet` (optional) URI to magnet file 22* `magnet` (optional) URI to magnet file
@@ -38,7 +38,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
38 ["aes-256-gcm",<key>, <iv>], 38 ["aes-256-gcm",<key>, <iv>],
39 ["m", <MIME type>], 39 ["m", <MIME type>],
40 ["x",<Hash SHA-256>], 40 ["x",<Hash SHA-256>],
41 ["xx",<Hash SHA-256>], 41 ["ox",<Hash SHA-256>],
42 ["size", <size of file in bytes>], 42 ["size", <size of file in bytes>],
43 ["dim", <size of file in pixels>], 43 ["dim", <size of file in pixels>],
44 ["magnet",<magnet URI> ], 44 ["magnet",<magnet URI> ],