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
20082026
-
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…
comment by oconnor663 · 2025-11-25 · in Choosing a hash function for 2030 and beyond: SHA-2 vs. SHA-3 vs. BLAKE3 -
…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...
comment by Dylan16807 · 2024-11-03 · in Breaking CityHash64, MurmurHash2/3, wyhash, and more -
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 -
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 -
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 -
…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 -
…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...
comment by nemo1618 · 2022-07-23 · in Ask HN: What are some cool but obscure data structures you know about? -
…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,…
comment by oconnor663 · 2021-12-31 · in Linux Kernel RNG is now Blake2 instead of SHA1 and 3x faster -
…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...
comment by iruoy · 2021-12-31 · in Linux Kernel RNG is now Blake2 instead of SHA1 and 3x faster -
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 -
…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 -
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 -
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 -
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