5 ms·
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 w
by throwaway812 12y 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?
- jedisct1 12y agoThere are no reasons to use CityHash or MumurHash in 2014. If security is not a concern, xxHash is faster.
- jgrahamc 12y agoWe 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.