Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And libsodium does things Tink doesn't do: provide a C API.


It doesn't, but it provides a first-class C++ API.

If I was starting a new project today, I'd probably go a little bit out of my way to try to use Tink instead of libsodium.


> It doesn't, but it provides a first-class C++ API.

Sure; I get that. There are C projects where that isn't acceptable, while libsodium is. It makes a lot of sense to use Tink if you're working in Go (which I know you're fond of) or Java or other high-level languages Tink supports. I tend to work with a lot of C (not C++) codebases, and I wouldn't choose or recommend C++ in a new project today.


Can't really argue with the makers of proprietary microcontrollers about what tooling they provide though.


Yeah, and also it is actually really easy to use. I justed checked the Python how-to for Tink and it's a lot more verbose than NaCl.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: