Hacker News new | ask | show | jobs
by throwaway812 4393 days ago
Given that protecting the source IP is not a goal (keyspace is far too small for that), why use something like MD5 when something like CityHash or MurmurHash3 would do?
2 comments

We have a fast MD5 implementation available through ngx_lua so using it is easy. Using one of the hashes you propose would have meant creating an API to access one of them and adding them.
There are no reasons to use CityHash or MumurHash in 2014. If security is not a concern, xxHash is faster.