util.gen
Class Passwords
java.lang.Object
util.gen.Passwords
- public class Passwords
- extends java.lang.Object
Methods for generating one time passwords.
- Author:
- nix
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numberLetters
public static java.lang.String[] numberLetters
nonAmbiguousLetters
public static java.lang.String[] nonAmbiguousLetters
Passwords
public Passwords()
makeChallengeCard
public void makeChallengeCard()
createRandomWords
public static java.lang.String[] createRandomWords(java.lang.String[] alphabet,
int lengthOfWord,
int numberOfWords)
- Creates pseudorandom Strings derived from an alphabet of String[] using the
java.util.Random class. Indicate how long you want a particular word and
the number of words.
createRandowWord
public static java.lang.String createRandowWord(int lengthOfWord)
- Returns a random word using nonambiguous alphabet. Don't use this method for creating more than one word!
makeHugeTable
public static void makeHugeTable()
- An example in how to make a huge random word table.
getNonAmbiguousLetters
public static java.lang.String[] getNonAmbiguousLetters()
getNumberLetters
public static java.lang.String[] getNumberLetters()
getChallengeConcatinate
public java.lang.String getChallengeConcatinate()
getDate
public java.lang.String getDate()
getHtmlChallengeTable
public java.lang.String getHtmlChallengeTable()