<div dir="ltr">Sidebar: Check out my talk Being Boring - A Survivor's Guide to Ruby Cryptography (describes RbNaCl): <a href="http://www.youtube.com/watch?v=e13irYP6WJA">http://www.youtube.com/watch?v=e13irYP6WJA</a><br>

<br><div class="gmail_quote"><div dir="ltr">RbNaCl is a Ruby FFI binding to the Networking and Cryptography Library by Dan Bernstein and his collaborators:<br><br><a href="https://github.com/cryptosphere/rbnacl" target="_blank">https://github.com/cryptosphere/rbnacl</a><br>

<br>Version 3.0 includes a new "SimpleBox" API designed to be the most straightforward API for cryptography possible. It automatically uses a random nonce per message (using libsodium's randombytes implementation which pulls from /dev/urandom on *IX and CryptGenRandom on Windows). Simplebox is usable for both public-key and secret-key cryptography:</div>

<div dir="ltr"><br></div><div dir="ltr"><a href="https://github.com/cryptosphere/rbnacl/wiki/SimpleBox">https://github.com/cryptosphere/rbnacl/wiki/SimpleBox</a><br></div><div dir="ltr"><a href="http://rubydoc.info/github/cryptosphere/rbnacl/master/RbNaCl/SimpleBox">http://rubydoc.info/github/cryptosphere/rbnacl/master/RbNaCl/SimpleBox</a><br>

</div><div dir="ltr"><br></div><div>Full list of changes from 2.0 below:</div><br>* Rename RandomNonceBox to SimpleBox (backwards compatibility preserved)<br>* Reverse documented order of SimpleBox/RandomNonceBox initialize parameters. Technically backwards compatible, but confusing.<br>

* Ensure all strings are ASCII-8BIT/BINARY encoding prior to use<div dir="ltr"><br></div></div>-- <br>Tony Arcieri<br>
</div>