by jedisct1 · 11y ago · 0 comments
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.
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.