Permalink
Commits on Jan 5, 2018
Commits on Jan 4, 2018
  1. Merge pull request #171 from crypto-rb/ci/config

    tarcieri committed Jan 4, 2018
    .travis.yml: Match configurations with rbnacl-libsodium
  2. Merge pull request #170 from crypto-rb/github-org-change

    tarcieri committed Jan 4, 2018
    Move project to the crypto-rb GitHub organization
  3. 2018

    tarcieri committed Jan 4, 2018
Commits on Dec 18, 2017
  1. Merge pull request #167 from graywolf/patch-1

    tarcieri committed Dec 18, 2017
    Add ruby 2.4.2 to the supported versions
  2. Add ruby 2.4.2 to the supported versions

    graywolf committed Dec 18, 2017
    Since ruby 2.4.2 is run on travis, it should be safe to assume it's supported. So let's add it to the readme.
Commits on Nov 26, 2017
  1. Merge pull request #164 from nijikon/travis-libsodium-latest

    tarcieri committed Nov 26, 2017
    update latest LIBSODIUM_VERSION to 1.0.15.1
Commits on Nov 22, 2017
  1. Merge pull request #163 from nijikon/update-to-recent-version

    tarcieri committed Nov 22, 2017
    update to recent versions in travis
Commits on Nov 21, 2017
  1. Merge pull request #162 from cryptosphere/rubocop-0-51

    tarcieri committed Nov 21, 2017
    Update to RuboCop 0.51
  2. Update to RuboCop 0.51

    tarcieri committed Nov 21, 2017
Commits on Sep 2, 2017
  1. Merge pull request #160 from EdwardBetts/spelling

    tarcieri committed Sep 2, 2017
    correct spelling mistake
  2. correct spelling mistake

    EdwardBetts committed Sep 2, 2017
Commits on Jun 13, 2017
  1. v5.0.0

    tarcieri committed Jun 13, 2017
  2. Merge pull request #159 from fudanchii/blake2b-low-api

    tarcieri committed Jun 13, 2017
    Expose lower level of blake2b API
Commits on Jun 3, 2017
  1. Set validate_opts as private,

    fudanchii committed Jun 3, 2017
    but then also need to move its invocation to self.new.
    
    Blake2bState is internal within Blake2b so adapt accordingly.
    
    Use alias instead of defining new method for `<<`.
  2. Extract out the previous digest method into class method.

    fudanchii committed Jun 3, 2017
    This is effectively changing #digest behavior, but thanks to the upper
    RbNaCl::Hash.blake2b API, the invocation is essentially the same.
    
    And extract options validation from #initialize, so we don't have
    to instantiate Blake2b from self.digest.
    
    Also put Blake2bState together with Blake2b definition.
  3. Use digest to finalize hash calculation,

    fudanchii committed Jun 3, 2017
    so we have similar API with ruby's ::Digest.
    
    Also this has minimal breaking changes, in which #digest
    essentially still has 1 arity and will be only callable without params
    when the initial state for hash calculation is initialized (after
    calling #reset).
    
    Added new tests to define the new behavior.
Commits on Jun 2, 2017
  1. Expose lower level of blake2b API

    fudanchii committed Jun 2, 2017
    This will support arbitrary length of message to be hashed
    without having to load all the message into memory beforehand.
Commits on Mar 13, 2017
  1. Merge pull request #157 from cryptosphere/fix-degenerate-keys

    tarcieri committed Mar 13, 2017
    Raise error on degenerate keys (fixes #152)
  2. Raise error on degenerate keys (fixes #152)

    tarcieri committed Mar 13, 2017
    This fixes the RuboCop errors from @paragonie-scott's #153 PR, adds a test, and
    adopts a belt-and-suspenders approach by trying to detect degenerate keys
    eagerly (still also handling errors surfaced from libsodium itself)
  3. Update curve25519.rb

    paragonie-scott committed with tarcieri Jan 26, 2017
    See #152
Commits on Jan 8, 2017
  1. 2017

    tarcieri committed Jan 8, 2017
Commits on Dec 28, 2016
  1. Add Ruby 2.4.0

    tarcieri committed Dec 28, 2016
Commits on Dec 24, 2016
  1. Merge pull request #148 from cryptosphere/last-minute-api-changes

    tarcieri committed Dec 24, 2016
    Last minute changes to the ChaCha20Poly1305 API
  2. Last minute changes to the ChaCha20Poly1305 API

    tarcieri committed Dec 24, 2016
    Unfortunately I already shipped 4.0.0. Technically this is a semantic versioning
    violation. However, the API is not yet documented and there have only been 40
    downloads of 4.0.0, so I think it's still safe to ship some last-minute changes
    nobody will complain about (I hope!)
    
    - Add "Legacy" to the old ChaCha20Poly1305 API to impart it shouldn't be used
      except for compatibility reasons
    - Capitalize both 'C's in ChaCha
    - Rename the base class of AEAD ciphers to `RbNaCl::AEAD::Base`
Commits on Dec 23, 2016