It seems like the most established ones like keyczar, cryptlib and NaCl are not available for Ruby. What are some ruby libraries (or bindings) for a high-level library where decisions about cryptographic primitives have been made for you (no need to generate IVs, CBC vs EBC etc.). I did find ruby-gpgme. There's also libmcrypt which has support for symmetric encryption of streams which is what I am ultimately interested in.
NaCl is now (1.0.0 of the gem was published some days ago) available for Ruby through RbNaCl (which uses libsodium, "portable, cross-compilable, installable, packageable, API-compatible version of NaCl"). There is also krypt.
Why not OpenSSL?
It is part of the standard libary:
http://ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/index.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With