3 ms·
This is a bit weird. Why not use an AEAD construction? Libsodium provides ChaCha20Poly1305, conform to RFC 7539. The code is also confusing. "box" is actually
by jedisct1 11y ago
This is a bit weird. Why not use an AEAD construction? Libsodium provides ChaCha20Poly1305, conform to RFC 7539.
The code is also confusing. "box" is actually the "secretbox_easy" operation, but rewritten using "secretbox". Which intentionally doesn't exist in libsodium.js because it only makes sense in C code.
- domanic 11y agoHi I am the author of this protocol (though I do not know who posted it to hacker news) You ask a good question, but I would much rather discuss it on github, since then that discussion will be tied to the project not a hacker news thread. https://github.com/dominictarr/pull-box-stream/issues/5 https://github.com/dominictarr/pull-box-stream/issues/5