|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.spy.util.PwGen
Password generator.
| Field Summary | |
static char[] |
NUMBER_LOWER
Character set containing numeric and lowercase characters. |
static char[] |
NUMBER_UPPER
Character set containing numeric and uppercase letters. |
static char[] |
NUMBER_UPPER_LOWER
Character set containing numeric, upper, and lowercase letters. |
| Constructor Summary | |
PwGen()
|
|
| Method Summary | |
static String |
getPass(int length)
Get a random string at the given length using the NUMBER_UPPER set. |
static String |
getPass(int length,
char[] charset)
Get a random string with the given length and character set. |
static void |
main(String[] args)
Testing and what not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final char[] NUMBER_UPPER
public static final char[] NUMBER_LOWER
public static final char[] NUMBER_UPPER_LOWER
| Constructor Detail |
public PwGen()
| Method Detail |
public static String getPass(int length)
public static String getPass(int length,
char[] charset)
public static void main(String[] args)
throws Exception
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||