Thoroughly tested Javascript implementation of Java's hashCode which converts a string to int
Java hashcode functions for Nodejs
Python implemented Java `hashCode` methods.