4 ms·
And libsodium does things Tink doesn't do: provide a C API.
by loeg 7y ago
And libsodium does things Tink doesn't do: provide a C API.
- tptacek 7y agoIt 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.
- beefhash 7y agoCan't really argue with the makers of proprietary microcontrollers about what tooling they provide though.
- loeg 7y ago> 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.
- p4bl0 7y agoYeah, 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.