by colorincorrect · 7y ago · 0 comments
Crypto libs (or any libs) typically can be used in a vast number of ways with completely untrustworthy input.
Some of the modern libraries take a different approach where they deliberately limit the functionality to a few select things that can be implemented easily (thinking nacl, libsodium, boringSSL etc here) and which guide the user towards sensible defaults that work rather than having huge numbers of levers to tweak, only some of which arrive at a secure and supported solution.