title: Unique ID Generation in java
body: <p>Giving a Input String, the string length will not more than 30, the output will be a unique id number. Is there a way in Java can do this?the same string will always generate the same id, different string can not generate the same id.  the java HashCode() can do this ?</p>
  
  <p>thanks</p>