All Articles

Jenkins Hash Function

hashing

The Jenkins hash function is a fast, efficient, well-designed hash function. It is a non-cryptographic hash function, which is not designed to be secure against cryptographic attacks. It was introduced by Bob Jenkins in 1997. In hisĀ blog, we can find moreĀ details. As he explained, the Jenkins hash is faster and more thorough, it was demonstrably better than the old hash. As a hash function, it could be combined with other functions like the Bloom filter, the UUID generating, and the hash tables to achieve a better performance.

Different language implementation could be found, like the Java based implementation, the JavaScript based implementation, the C based implementation, etc.

Apache Hadoop also provides a Jenkins hash function implementation, which could be found here.

Published Sep 14, 2022

Flying code monkey