Hacker News new | ask | show | jobs
by lcrz 1013 days ago
Libsodium is an amazing crypto library.

At my previous job, we used libsodium as the basis for all our crypto on web, iOS and android. This after a myriad of subtle problems and inconsistencies using multiple libraries for RSA/AES.

Libsodium is pretty opinionated, which is good. The only thing that actually came close in dev experience was google’s ~~Think~~ Tink library, but that isn’t mature on web and probably never will be.

It’s also hella fast.

Edit: corrected library name

2 comments

The library is Google Tink (just in case someone wants to look it up)
I can fully recommend Tink, especially when libsodium isn’t available. Although its documentation isn’t very good, it‘s build to be hard to misuse. You still need some cryptographic knowledge though, as it isn’t that opinionated as libsodium.
Tink is pretty yuck, needs a JSON parser just to load keys.