For 128 bit hash function, what is the best method to select?

4.2k views Asked by At

For 128 bit hash method, there are several choices like, md5 and murmur3, which is the best?

1

There are 1 answers

1
Robert On

From the security perspective they are all bad because 128 bit is nowadays much too short.

Therefore you want a cryptographically secure hash take e.g. RIPEMD-160 (which is AFAIR not as much broken as SHA-1).

If don't need real security it doesn't matter if you use md5 or murmur3 or whatever 128 bit hash.