Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion 19.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ These possible standardized `TLV` types are indicated here:
- `3`: `kind`
- for `naddr`, the 32-bit unsigned integer of the kind, big-endian
- for `nevent`, _optionally_, the 32-bit unsigned integer of the kind, big-endian

- `4`: `secret`
- the secret, in byte array, to be used when decrypting the event or its related components
- `5`: `nonce`
- the initialization vector (IV), in byte array, to be used when decrypting the event or its related components

## Examples

- `npub10elfcs4fr0l0r8af98jlmgdh9c8tcxjvz9qkw038js35mp4dma8qzvjptg` should decode into the public key hex `7e7e9c42a91bfef19fa929e5fda1b72e0ebc1a4c1141673e2794234d86addf4e` and vice-versa
Expand Down