upleb.uk

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

summaryrefslogtreecommitdiff
path: root/44.md
diff options
context:
space:
mode:
authorfiatjaf_ <fiatjaf@gmail.com>2025-05-05 21:13:18 -0300
committerGitHub <noreply@github.com>2025-05-05 21:13:18 -0300
commitb8782df594b4e7e8f088869134908eed58be6078 (patch)
tree538463f77f2719b8c3ce33fc564658a4de7379e9 /44.md
parent4de6a69931f918b6608f60d7d566805d06ba2b18 (diff)
fix typo
Diffstat (limited to '44.md')
-rw-r--r--44.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/44.md b/44.md
index a6d1325..8ba966c 100644
--- a/44.md
+++ b/44.md
@@ -89,7 +89,7 @@ NIP-44 version 2 has the following design characteristics:
89 - Padding algorithm is related to powers-of-two, with min padded msg size of 32 bytes 89 - Padding algorithm is related to powers-of-two, with min padded msg size of 32 bytes
90 - Plaintext length is encoded in big-endian: 90 - Plaintext length is encoded in big-endian:
91 - if smaller than 65536, as a u16 in the first 2 bytes of the padded blob; 91 - if smaller than 65536, as a u16 in the first 2 bytes of the padded blob;
92 - if greater than 65536, the first the first 6 bytes of the padded blob, the first 2 being zero and the other 4 being the actual encoded length as u32 92 - if greater than 65536, the first 6 bytes of the padded blob, the first 2 being zero and the other 4 being the actual encoded length as u32
935. Encrypt padded content 935. Encrypt padded content
94 - Use ChaCha20, with key and nonce from step 3 94 - Use ChaCha20, with key and nonce from step 3
956. Calculate MAC (message authentication code) 956. Calculate MAC (message authentication code)