by api · 10y ago · 0 comments
I was joking 10 years ago when I wrote "if you're typing A-E-S into your code you're doing it wrong", but more and more I feel like I was on to something.
https://paragonie.com/book/pecl-libsodium
Docs happen to be written by the OP too...
I often find his posts interesting and sometimes a welcome adjustment to some long-running counterproductive memes.
The situation is far from ideal. Recommending libsodium-php is also not as simple, as this requires an additional thing to be installed on a server, which probably isn't the case for most shared hosting environments.