-
#135 Expose RbNaCl::Signatures::Ed25519#keypair_bytes. (@grempe)
-
#137 Expose HMAC-SHA512 (with 64-byte keys) (@mwpastore)
-
#105 Add salt/personalisation strings for Blake2b. (@namelessjon)
-
#128 Remove use of Thread.exclusive when initializing library. (@tarcieri)
- Fix method signature for blake2b
- RuboCop-friendly codebase
- Fix scrypt support with libsodium 0.7.0 (scryptsalsa208sha256)
- Fix undefined variable warning
- RSpec 3 fixups
- RuboCop
- The scrypt password hashing function: RbNaCl::PasswordHash.scrypt
- Load gem from RBNACL_LIBSODIUM_GEM_LIB_PATH if set. Used by rbnacl-libsodium gem to use libsodium compiled from a gem.
- Rename RandomNonceBox to SimpleBox (backwards compatibility preserved)
- Reverse documented order of SimpleBox/RandomNonceBox initialize parameters. Technically backwards compatible, but confusing.
- Ensure all strings are ASCII-8BIT/BINARY encoding prior to use
- Add encrypt/decrypt aliases for Crypto::RandomNonceBox
- Rename Crypto module to RbNaCl module
- 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
- Encoders have now gone.
- 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
- Provide API for querying primitives and details about them, such as key lengths, nonce lengths, etc.
- Fixed bug on passing null bytes to sha256, sha512 functions.
- Initial release