Hacker News new | past | comments | ask | show | jobs | submit login

If you want a fast hash function (and don't care about it's cryptographic properties), don't use a cryptographic hash function.



BLAKE3 is actually competitive with non-cryptographic hashes like crc32.


Not even close. CRC32 can easily run at >50GB/s single thread on this i7-12700K CPU (VPCLMULQDQ implementation). The BLAKE3 page claims around 7GB/s single thread. Fudging the figures a bit to cater to CPU differences, BLAKE3 is still a far cry from CRC32.


You're referring to the implementation that was on HN a month or two ago?

There's nothing wrong with that, it's a fair comparison, but I'm talking about the existing common implementations.


To be fair, it really depends on the platform. There's an argument to be made that platforms where you care about the difference are specifically the ones where BLAKE3 is slower (no SIMD, no threads).


Fair




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: