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:
= Copy to clipboard Copied!

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:

863d0d1b43545c3fd1d717bbe6140374785b4556f57670ab3134fb28452bafb1

Total downloads 3,789

For this version 2,162

License:

MIT

Required Ruby Version: >= 0

Links: