3 ms·
I assume MD5 is in there too now. Just out of curiosity, what are the most common use cases for non-cryptographic hash functions?
by kebman 5y ago
I assume MD5 is in there too now. Just out of curiosity, what are the most common use cases for non-cryptographic hash functions?
- adkadskhj 5y agoHash Map/Set keys is a common one, for example.
- Dylan16807 5y agoMD5 isn't particularly fast. Basic non-vector BLAKE3 beats it, and SHA1 beats it by even more.
- kebman 5y agoYes, I'm already aware of that, thank you. Could you please expand upon what the main use cases are for non-cryptographic hashes?
- Dylan16807 5y ago> Yes, I'm already aware of that, thank you. Oh. Well you said "in there too now" so I thought you were saying it was like xxhash in being insecure and fast. Even if that wasn't your intent, I wanted to make it clear to other people. > Could you please expand upon what the main use cases are for non-cryptographic hashes? Very fast hashes are good for hash maps, or even critical for them. That covers a huge amount of uses. And judging by the list on xxhash's website, a bunch of file transfer programs use it as well as bloom filter implementations, along with the databases that are probably using it for various maps.
- kebman 5y agoCool! I did make a duplicate file finder once. Seems I'll have to update it with this algo then! Thanks for mentioning it! :D