public class UUID extends Object
| Constructor and Description |
|---|
UUID() |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateMd5(String str) |
static String |
md5(String string)
Вычисляет md5-хэш (нормально работает с большими строками).
|
static String |
uuid(int len)
Generate a random uuid of the specified length.
|
static String |
uuid(int len,
int radix)
Generate a random uuid of the specified length, and radix.
|
static String |
uuidKap() |
public static String md5(String string)
public static String uuid(int len)
len - the desired number of characterspublic static String uuid(int len, int radix)
len - the desired number of charactersradix - the number of allowable values for each character (must be <= 62)public static String uuidKap()
Copyright © 2012–2014 RedSoft. All rights reserved.