|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.util.crypt.RandomString
public final class RandomString
Utility methods for generating random strings.
Constructor Summary | |
---|---|
RandomString()
|
Method Summary | |
---|---|
static java.lang.String |
getGoodPassword(int length)
Returns a random password almost guaranteed to have both letters and numbers, but no special characters. |
static java.lang.String |
getRandomString(int length)
Returns a random string of a specified length. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomString()
Method Detail |
---|
public static java.lang.String getRandomString(int length)
public static java.lang.String getGoodPassword(int length)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |