|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.goui.util.GPWData
This class is a derived work based upon an original implementation by Tom Van Vleck which can be found at http://www.multicians.org/thvv/gpw.html.
This static class can be used to generate pronounceable passwords. Currently it only produced English style passwords and a different set of data tables will be required for other languages. New data tables can be generated using the "loadtris" program which can also be found at http://www.multicians.org/thvv/gpw.html
However,in order to overcome the Java restriction that static arrays cannot
exceed 64k in size, any trailing sequences of zeros should be removed and
any arrays containing only zeros should be replaced by a null
value.

This software is licensed under the CC-GNU LGPL.
| Constructor Summary | |
GPWData()
|
|
| Method Summary | |
static void |
generate(byte[] buf,
java.util.Random ran)
This methid simply fills a given byte array with numerical values corresponding to characters in order to form a pronounceable password. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GPWData()
| Method Detail |
public static void generate(byte[] buf,
java.util.Random ran)
This approach means that it is up to the caller of this method to decide about whether or not the characters which make up the final password should be upper or lower case.
buf - The byte array into which the password data should be putran - A random number generator used to construct the password data
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||