News for hackers. Stuff that matters.
Re:Rolling Your Own Crypto by niftich on Tuesday December 20, 2016 @01:41PM (#13222614)
Crypto APIs being hard to correctly use was the principal motivation behind Daniel Bernstein's nacl [1]. As others have said, nacl and its reimplementation libsodium try to adhere to this philosophy.

[1] https://cr.yp.to/talks/2012.08.08/slides.pdf

Re:Rolling Your Own Crypto by wolf550e on Tuesday December 20, 2016 @02:28PM (#13223070)
Re:Rolling Your Own Crypto by lisper on Tuesday December 20, 2016 @06:08PM (#13225188)
And Javascript:

https://tweetnacl.js.org/

And Python:

https://github.com/pyca/pynacl

This is one of my projects using these libraries, a PGP replacement based entirely on the NaCl API:

https://github.com/Spark-Innovations/SC4

Re:Rolling Your Own Crypto by Buge on Wednesday December 21, 2016 @03:36AM (#13227659)
I used that in a project and found that the Java and the Javascript implementations I was using did things slightly differently, so I had to modify the Java version to behave like the Javascript version.

Simpler than Openssl or whatever, but still not ideal.