com.wizzardo.tools.security
Class UUID

java.lang.Object
  extended by com.wizzardo.tools.security.UUID

public class UUID
extends java.lang.Object


Constructor Summary
UUID()
           
 
Method Summary
static byte[] randomUUID()
          Static factory to retrieve a type 4 (pseudo randomly generated) UUID.
static java.util.UUID toJavaUUID(byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UUID

public UUID()
Method Detail

randomUUID

public static byte[] randomUUID()
Static factory to retrieve a type 4 (pseudo randomly generated) UUID. The UUID is generated using a cryptographically strong pseudo random number generator. Source code was got from sources of java

Returns:
a randomly generated UUID.

toJavaUUID

public static java.util.UUID toJavaUUID(byte[] data)