RbNaCl v2.0.0 Release Notes

Release Date: 2013-11-07 // over 10 years ago
    • ๐Ÿ“‡ Rename Crypto module to RbNaCl module
    • โž• Add encrypt/decrypt aliases for Crypto::RandomNonceBox
    • RbNaCl::VerifyKey#verify operand order was reversed. New operand order is signature, message instead of message, signature
    • RbNaCL::SecretBox#open, RbNaCl::Box#open, Auth#verify and VerifyKey#verify all now raise a (descendent of) CryptoError if the check fails. This ensures failures are handled by the program.
    • RbNaCl::SecretBox, Box, etc. are all now aliases for the real implementations, which are named after the primitives they provide
    • โœ‚ Removed encoder functionality.
    • โž• Add support for the Blake2b cryptographic hash algorithm.
    • โž• Add checks that we have a sufficiently recent version of libsodium (0.4.3+)
    • โฌ‡๏ธ Dropped ruby-1.8 support
    • Call the sodium_init() function, to select the best algorithms.
    • ๐Ÿ›  Fix some typos in the documentation
    • ๐Ÿ”„ Changes in the low level binding for libsodium and removal of the NaCl module
    • โž• Add a mutex around calls to randombytes in libsodium