0

(http://www.ietf.org/rfc/rfc4122.txt) The documentation for UUID says :

For UUID version 4, clock sequence is a randomly or pseudo-randomly generated 14-bit value.

For UUID version 4, the node field is a randomly or pseudo-randomly generated 48-bit value.

So, is it ok to grab random octets from a Version 4 UUID if I am looking for a randomly generated String of length 12 in java? I understand the chances of collision (duplicates) are higher but would it be a decent way to generate random strings?

ancora imparo
  • 82
  • 2
  • 10

0 Answers0