util.hashCode(str)

Return a simple hash code from a string.