@InterfaceAudience.Public @InterfaceStability.Evolving public final class RandomUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
password(int length)
Uses
Random, the passwords generated by this are mostly unique
identifiers if length is > 7.Note: found one duplicate entry in 10 Lakhs of entries with password size is 8. |
static char[] |
passwordAsCharArray(int length)
Uses
Random, the passwords generated by this are mostly unique
identifiers if length is > 7.Note: found one duplicate entry in 10 Lakhs of entries with password size is 8. |
static String |
uniqId()
Uses UUID, the identifiers generated by UUID are actually universally unique identifiers.
|
public static String uniqId()
public static String password(int length)
Random, the passwords generated by this are mostly unique
identifiers if length is > 7.length - the lengthpublic static char[] passwordAsCharArray(int length)
Random, the passwords generated by this are mostly unique
identifiers if length is > 7.length - the lengthCopyright © 2016 utils4j. All Rights Reserved.