I wanted to generate a unique hash code for a string in put in android. Is there any predefined library is there or we have to generate manually. Please any body if knows pl
For me it worked
public static long getUniqueLongFromString (String value){ return UUID.nameUUIDFromBytes(value.getBytes()).getMostSignificantBits(); }