RubyGems Navigation menu

blake.rb 0.0.2

BLAKE is a cryptographic hash function based on Dan Bernstein's ChaCha stream cipher, but a permuted copy of the input block, XORed with round constants, is added before each ChaCha round. Like SHA-2, there are two variants differing in the word size. ChaCha operates on a 4×4 array of words. BLAKE repeatedly combines an 8-word hash value with 16 message words, truncating the ChaCha result to obtain the next hash value. BLAKE-256 and BLAKE-224 use 32-bit words and produce digest sizes of 256 bits and 224 bits, respectively, while BLAKE-512 and BLAKE-384 use 64-bit words and produce digest sizes of 512 bits and 384 bits, respectively.

Gemfile:
=

install:
=

Versions:

  1. 0.0.2 February 22, 2020 (11.5 KB)
  2. 0.0.1 February 22, 2020 (11 KB)

Development Dependencies (7):

bundler ~> 2.1
pry ~> 0.12
rake ~> 12.3
rspec ~> 3.8
rubocop ~> 0.80
simplecov ~> 0.17

Owners:

Pushed by:

Authors:

  • Daniel Cavanagh (danielcavanagh)

SHA 256 checksum:

=

Total downloads 3,997

For this version 2,280

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: