Questions tagged [blake2]

BLAKE2 is a cryptographic hash function based on the SHA-3 finalist BLAKE

BLAKE2 is a cryptographic hash function. It is based on BLAKE which was originally designed for the SHA-3 competition where it became a finalist, but was not chosen as SHA-3.

It in based on the round function and has two variants:

  • BLAKE2b, using 64-bit words like ChaCha, 12 rounds, and producing hashes up to 512 bits.
  • BLAKE2s, using 32-bit words, 10 rounds, and producing hashes up to 256 bits.

Both variants also have parallel hash modes.

See also:

45 questions
6
votes
1 answer

Blake2: truncate 512-bit hash is safer than 256-bit by Config?

I need to calculate 256-bit hash in my code, using BLAKE2. I know I can set BLAKE2 to generate itself a 256-bits hash for any data but I´m curious to know what can be safer and faster: 1- Create the 256-bit using Blake2Config module; or 2- Truncate…
David BS
  • 197
  • 2
  • 6
2
votes
1 answer

Is the use of a 4-round Blake2b permutation in OPP justified?

The MEM-AEAD construction uses a 4-round Blake2b permutation in masked Even-Mansour mode as a (tweakable) block cipher. 4 rounds of the Blake2b permutation are already broken to my knowledge. Why are the designers justified in their choice?
Demi
  • 4,793
  • 1
  • 19
  • 39