4 ms·
How does this compare to libsodium(.js)[1][2]? [1] https://github.com/jedisct1/libsodium https://github.com/jedisct1/libsodium [2] https://github.com/jedisct1/
by 0XAFFE 10y ago
How does this compare to libsodium(.js)[1][2]?
[1] https://github.com/jedisct1/libsodium https://github.com/jedisct1/libsodium
[2] https://github.com/jedisct1/libsodium.js https://github.com/jedisct1/libsodium.js
- tptacek 10y agoSomewhat similarly. It's default mode is authenticated. It handles nonces and IVs for users, unlike NaCl, which demands random nonces from the user. It has and exposes a lot more primitives than libsodium, which is probably a bad thing for security. Its authors (and not just Dan Boneh) have impeccable credentials. On the other hand, libsodium will outperform SJCL on Node.js, which is really the only safe place to use a library like this.