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, signatureRbNaCL::SecretBox#open
,RbNaCl::Box#open
,Auth#verify
andVerifyKey#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