|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.compoze.collab.util.Guid
public class Guid
| Method Summary | |
|---|---|
static byte[] |
getGuid()
Gets a random GUID (using insecure random number generation favoring higher performance). |
static byte[] |
getGuid(boolean bSecure)
Gets a random GUID. |
static String |
getGuidString(boolean bSecure,
boolean bIncludeDashes)
Gets a GUID in string form. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] getGuid()
null and the size of an MD5
digest- 128 bits, or 16 bytes)public static byte[] getGuid(boolean bSecure)
bSecure - if true, use cryptographically
strong random number generation, else use the standard
Random class to generate numbers
null and the size of an MD5
digest- 128 bits, or 16 bytes)
public static String getGuidString(boolean bSecure,
boolean bIncludeDashes)
bSecure - if true, use cryptographically
strong random number generation, else use the standard
Random class to generate numbersbIncludeDashes - if true, include dashes in the
string
C2FEEEAC-CFCD-11D1-8B05-00600806D9B6, or
C2FEEEACCFCD11D18B0500600806D9B6 depending on
whether or not dashes are included)
public static void main(String[] args)
throws Throwable
Throwable
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||