Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Best non-cryptograpic hashing algorithm for audio data?
2 points by sandreas on July 16, 2022 | hide | past | favorite | 2 comments
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.



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...


Awesome, so xxhash seems to be the right choice (best case: when using its xxh3low derivate)

Thank you very much.




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

Search: