I'm using some code to generate a 16 bytes length String and I noticed a strange behaviour while using my code which is:
public static String generateMyUniqueString() {
return new BigInteger(64,oRandom).toString(16);
}
This is giving me a nice 16 characters length string 99% of the time.
But yes, sometimes, the generated string is 15 characters length and, for now, I did not find why.