Java Universally unique identifier
<p>In java, we have UUID (Universally unique identifier) for generating unique IDs. 
I am using this to get unique identifiers. </p>

<p>So, I am getting an unique identifier as: 35ffa200-aaa5-40ec-ab6f-20bb36632f86 (5 groups separated by hyphens). </p>

<p>I dont need such lengthy identifiers. My identifier must be of short value, say the code must be of only 3 groups.  How can I get such small unique identifiers. Is there any limits in UUID class? I am afraid to use string limits for UUID. Is it a correct way</p>

<p>or is there any way to generate such small unique identifiers?</p>

<p>Thank you.</p>
