HACKER Q&A
📣 sandreas

Best non-cryptograpic hashing algorithm for audio data?


Hey HN,

I'm looking for a state of the art non-cryptographic hash algorithm specifically for audio data to identify audiofiles by raw audio ignoring metadata.

My current choice would be either:

  - xxHash (my current favorite)
  - CrapWow
  - Murmur 3a
  - SpookyHash
Is there a better and faster one?

A good and reliable implementation in C# would be a bonus.

Thank you.


  👤 wmf Accepted Answer ✓
Have you seen https://github.com/rurban/smhasher ?

So the fastest hash functions on x86_64 without quality problems are: xxh3low, wyhash, ahash64, t1ha2_atonce, komihash...