3 ms·
don't forget https://github.com/jedisct1/libhydrogen https://github.com/jedisct1/libhydrogen for microcontrollers
by olabyne 3y ago
don't forget https://github.com/jedisct1/libhydrogen https://github.com/jedisct1/libhydrogen for microcontrollers
- jedisct1 3y agoNot just for microcontrollers. If performance is not a priority, but you need something small, simple, and easy to embed, libhydrogen can come in handy. I actually use it more than libsodium.
- loup-vaillant 3y agoThen don’t forget https://monocypher.org https://monocypher.org as well. Bigger than libhydrogen but still small enough for many targets, faster across the board, and compatible with libsodium. If you can spare a couple more KB of flash in your microcontroller, you can get very good performance on the device and use libsodium on the server to scale like crazy. It also doesn’t hurt that there is basically 1 header and 1 source file (2 of each with the options), which you can trivially copy & paste into your project.