Rename xx to ox

This commit is contained in:
arthurfranca 2023-09-27 12:23:38 -03:00
parent cc1e73b186
commit 3e2765b774

4
94.md
View File

@ -16,7 +16,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
* `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.
* `"aes-256-gcm"` (optional) key and nonce for AES-GCM encryption with tagSize always 128bits
* `x` containing the SHA-256 hexencoded string of the **transformed** file after any server transformations
* `xx` containing the SHA-256 hexencoded string of the **original** file before any server transformations
* `ox` containing the SHA-256 hexencoded string of the **original** file before any server transformations
* `size` (optional) size of file in bytes
* `dim` (optional) size of file in pixels in the form `<width>x<height>`
* `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
["aes-256-gcm",<key>, <iv>],
["m", <MIME type>],
["x",<Hash SHA-256>],
["xx",<Hash SHA-256>],
["ox",<Hash SHA-256>],
["size", <size of file in bytes>],
["dim", <size of file in pixels>],
["magnet",<magnet URI> ],