-5
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png)
Q: Java : Is there any hash function available for converting string to number from the specified range
In java, I need a hash function or algorithm that generate the number from the specified input string in such a way that the generated number should be in the range like 1000 to 6000.
Condition to satisfy : 1) The algorithm should always reproduce the same number for same string. 2) Algor...