mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Rename xx to ox
This commit is contained in:
parent
cc1e73b186
commit
3e2765b774
4
94.md
4
94.md
|
@ -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.
|
* `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
|
* `"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
|
* `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
|
* `size` (optional) size of file in bytes
|
||||||
* `dim` (optional) size of file in pixels in the form `<width>x<height>`
|
* `dim` (optional) size of file in pixels in the form `<width>x<height>`
|
||||||
* `magnet` (optional) URI to magnet file
|
* `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>],
|
["aes-256-gcm",<key>, <iv>],
|
||||||
["m", <MIME type>],
|
["m", <MIME type>],
|
||||||
["x",<Hash SHA-256>],
|
["x",<Hash SHA-256>],
|
||||||
["xx",<Hash SHA-256>],
|
["ox",<Hash SHA-256>],
|
||||||
["size", <size of file in bytes>],
|
["size", <size of file in bytes>],
|
||||||
["dim", <size of file in pixels>],
|
["dim", <size of file in pixels>],
|
||||||
["magnet",<magnet URI> ],
|
["magnet",<magnet URI> ],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user