I want to know what is the best approach in java to generate a 16 char unique key ? Is there any open source library which already provides such functionality. Also I need the uniqueness to be mentained even after server restart.
Could you suggest the best approach for above requirement.
Also could someone point me to, where can i get reference for writing a robust hashcode method where the hashcode would be genarated out of many alphanumeric fields?