[ANN] RbNaCl 3.1.0: a modern cryptography for Ruby: now with scrypt

35 views
Skip to first unread message

Tony Arcieri

unread,
May 23, 2014, 12:32:41 PM5/23/14
to rbn...@googlegroups.com, ruby-talk ML, sod...@pureftpd.org
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
Reply all
Reply to author
Forward
0 new messages