Other

Where can I find the BLAKE2 hash function?

Where can I find the BLAKE2 hash function?

BLAKE2 is specified in RFC 7693, and our code and test vectors are available on GitHub, licensed under CC0 (public domain-like). BLAKE2 is also described in the 2015 book The Hash Function BLAKE.

How many gibibytes per second does BLAKE2 process?

BLAKE2 also includes the BLAKE2xvariants, which can produce digests of arbitrary length. BLAKE2x is specified in a separate document. BLAKE2 shines on 64-bit CPUs: on an Intel Core i5-6600 (Skylake microarchitecture, 3310MHz), BLAKE2b can process 1 gibibyte per second, or a speed rate of 3.08 cycles per byte.

Which is VPN uses BLAKE2s and BLAKE2b?

OpenSSL: OpenSSL includes BLAKE2b and BLAKE2s Wireguard: The Wireguard VPN uses BLAKE2s for hashing and as a MAC Botan: The Botan library includes BLAKE2b Crypto++: The Crypto++ library includes BLAKE2s and BLAKE2b Noise: The Noise protocol (now used in WhatsApp) uses BLAKE2s and BLAKE2b

What are the features of the BLAKE2 algorithm?

BLAKE2 includes the 4-way parallel BLAKE2bpand 8-way parallel BLAKE2spdesigned for increased performance on multicore or SIMD CPUs. BLAKE2 offers these algorithms tuned to your specific requirements, such as keyedhashing (that is, MAC or PRF), hashing with a salt, updatable or incremental tree-hashing, or any combination thereof.

Is there a pseudocode for the BLAKE2b algorithm?

Pseudocode for the BLAKE2b algorithm. The BLAKE2b algorithm uses 8-byte (UInt64) words, and 128-byte chunks. The Compress function takes a full 128-byte chunk of the input message and mixes it into the ongoing state array:

What kind of initialization vector does BLAKE2b use?

BLAKE2b uses an initialization vector that is the same as the IV used by SHA-512. These values are transparently obtained by taking the first 64 bits of the fractional parts of the positive square roots of the first eight prime numbers. Pseudocode for the BLAKE2b algorithm.

What’s the difference between BLAKE2 and BLAKE2X?

Whereas BLAKE2 is limited to 64-byte digests, BLAKE2X allows for digests of up to 256 GiB. BLAKE2X is itself not an instance of a hash function, and must be based on an actual BLAKE2 instance.

Author Image
Ruth Doyle