5 ms·
I would be interested in how this compares on the smhasher against some of the other fastest hash competitors like meow hash or xxhash.
by memco 7y ago
I would be interested in how this compares on the smhasher against some of the other fastest hash competitors like meow hash or xxhash.
- rurban 7y agoGive me two days.
- loeg 7y agoI am also curious about how it performs as a PRF in places where e.g. Chacha20 is used as a keystream generator now. Also as a reduced round variant in places where non-cryptographic PRNGs are used for very fast RNG needs: JSF, SFC, Lehmer, Splitmix, PCG. In my extremely limited testing (on AVX2, but not AVX512 hardware), (buffered) reduced (four) round Chacha is only about 1.5-2x slower than fast non-cryptographic PRNGs like JSF, SFC, Lehmer, or pcg64_fast (all with Clang -O2 -flto, the fast PRNGs are header-only implementations and only chacha is two files). This thing still uses 7 rounds, but that is easy to tune down. Very neat.
- loup-vaillant 7y agoThe "too much crypto" paper linked in the specs recommends to lower Chacha20 down to 8 rounds. Blake3 wouldn't compete with Chacha20, it would compete with Chacha8.
- oconnor663 7y agoNote that a "round" in BLAKE/2/3 is equivalent to a "double-round" in ChaCha.
- loeg 7y agoAh, ok. So 7-round Blake3 is perhaps closest to 14-round Chacha.