Happy Friday everyone!
RbNaCl is a Ruby FFI binding to the Networking and Cryptography Library
Dan Bernstein and his collaborators:
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”:
Version 3.1.0 includes the scrypt sequential memory-hard password
function, a.k.a. one of the best password hashing functions presently
available. Unlike most other password hashing functions, scrypt
a memory cost which makes its password hashes harder to crack.
Together with libsodium, RbNaCl provides one of the most cross-platform
cross-VM ways to add scrypt to your Ruby code. RbNaCl supports JRuby
Don’t want to install libsodium as a dependency? Use the
gem, which vendors and compiles libsodium for you: