I need a simple Python hash function to convert a string to an integer from 0 to 255: >>> hash_function("abc_123") 32 >>> hash_function("any-string-value") 99 It does not matter what the integer is as long as I get the same integer every time I call the function. I want to use the integer to generate a random subnet mask based on the name of the network. Continue reading...