Happy Friday everyone!
RbNaCl is a Ruby FFI binding to the Networking and Cryptography Library by Dan Bernstein and his collaborators:
https://github.com/cryptosphere/rbnacl
If you're interested in finding out more about it, please check out the RubyConf talk "Being Boring: A Survivor's Guide to Ruby Cryptography":
https://www.youtube.com/watch?v=e13irYP6WJA
Version 3.1.0 includes the scrypt sequential memory-hard password hashing function, a.k.a. one of the best password hashing functions presently available. Unlike most other password hashing functions, scrypt introduces a memory cost which makes its password hashes harder to crack.
Together with libsodium, RbNaCl provides one of the most cross-platform and cross-VM ways to add scrypt to your Ruby code. RbNaCl supports JRuby too!
Don't want to install libsodium as a dependency? Use the rbnacl-libsodium gem, which vendors and compiles libsodium for you:
https://github.com/cryptosphere/rbnacl-libsodium--
Tony Arcieri