Re:Hell Is Overconfident Developers Writing Encryption Code
by Dylan16807 on Saturday February 01, 2025 @11:27PM
(#42905811)
I bet more than 90% of the devs turning to a third option could in fact use sodium or an equivalent. Especially if the goal is "boom, file encrypted".
[ Parent
| on HN ]
Re:Hell Is Overconfident Developers Writing Encryption Code
by umvi on Sunday February 02, 2025 @03:52AM
(#42907264)
> or an equivalent
How does one identify the proper "equivalent" in a given programming language that doesn't have 1st class sodium support?
Re:Hell Is Overconfident Developers Writing Encryption Code
by Dylan16807 on Sunday February 02, 2025 @12:42PM
(#42910218)
Second class sodium is still a hell of a lot better than setting up your own. For go in particular, writing your own wrapper is a reasonable option. It's a handful of lines of code per function used.
I don't have a full guide for identifying a proper equivalent, but "constant time" is a requirement.