Hacker GitHub

← All repos

BLAKE3-team/BLAKE3-specs

View on GitHub ↗ ★ 204 HTML

The BLAKE3 paper: specifications, analysis, and design rationale

14 mentions on Hacker News by 7 people: 0 stories, 14 comments · first 2020-01-09 · latest 2025-11-25

Mentions per year 14 mentions · busiest year 2020 (4)
20082026
  1. This is a difference between BLAKE3 and most other hash functions. In the usual arrangement ("Merkle–Damgård"), each block depends on the previous one, so the only way to verify some "slice" of the input is to re-hash the whole thing. But…
  2. …the paper shows 4 cycles per byte for 64 byte inputs and I don't think they're getting fancy: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak...
  3. Figure 4 from https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... is a related benchmark. On that particular machine we saw good scaling up to 16 threads, but yeah somewhere in that neighborhood you start to run into memory…
    comment by oconnor663 · 2023-11-13 · in Reasons to Prefer Blake3 over Sha256
  4. We put a lot of effort into section 5.1.2 of https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... , and the complicated part of BLAKE3 (incrementally building the Merkle tree) ends up being ~4 lines of code. Let me know what you…
    comment by oconnor663 · 2023-11-13 · in Reasons to Prefer Blake3 over Sha256
  5. We go over some of our reasoning around that in section 7.5 of https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... . An early BLAKE3 prototype actually didn't include the chunk counter ( https://github.com/oconnor663/bao/blob/ma…
    comment by oconnor663 · 2023-11-13 · in Reasons to Prefer Blake3 over Sha256
  6. …BLAKE2s state plus (32 bytes times the log_2 of the number of KiB you need to hash). Section 5.4 of https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... goes into this. - But it's hard to take advantage of this space…
    comment by oconnor663 · 2023-11-13 · in Reasons to Prefer Blake3 over Sha256
  7. …ukechampine/us/blob/master/merkle/stack.... You could also check out section 5.1 of the BLAKE3 paper: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak...
  8. …its advantage over SHA-256 all the way down to the empty string. You can see this in Figure 3 of https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... . (BLAKE3 is also faster than SHA-256 all the way down to the empty string,…
  9. …to push through. It also seems to be almost as fast according to the BLAKE3 specs PDF (page 11). https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak...
  10. Its section 2.1 of the paper: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... Though, note, blake3 still provides enhanced resistance against the attacks against blake2 even in the case where you only have one block, due to…
    comment by thatonelutenist · 2021-11-29 · in Why I Have Settled on XChaCha20+Blake3 for AEAD
  11. …rarely adopted. BLAKE3 eliminates this drawback. It is a single algorithm with no variants Paper: https://github.com/BLAKE3-team/BLAKE3-specs/ (By the way, the download doesn't work for me in the latest Firefox on Linux and GitHub's…
    comment by lucb1e · 2020-01-11 · in Blake3 is 10 times faster than SHA-2
  12. Take a look at Figure 5 ( https://i.imgur.com/Izs23wf.png ) in the spec ( https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... ). That benchmark was done on a Raspberry Pi Zero, which is a 32-bit ARM1176.
    comment by oconnor663 · 2020-01-09 · in The BLAKE3 cryptographic hash function
  13. The Performance section of the spec ( https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... ) has a paragraph about short input performance. 64 bytes happens to be the BLAKE3 block size, and performance at that length or shorter…
    comment by oconnor663 · 2020-01-09 · in The BLAKE3 cryptographic hash function
  14. From their BLAKE3 paper ( https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blak... ) they give an example of verified streaming in 6.4. Basically to verify a video file using serial hash functions you need to download the entire…
    comment by mauricio · 2020-01-09 · in The BLAKE3 cryptographic hash function