util.gen
Class Passwords

java.lang.Object
  extended byutil.gen.Passwords

public class Passwords
extends java.lang.Object

Methods for generating one time passwords.

Author:
nix

Field Summary
static java.lang.String[] nonAmbiguousLetters
           
static java.lang.String[] numberLetters
           
 
Constructor Summary
Passwords()
           
 
Method Summary
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.
static java.lang.String createRandowWord(int lengthOfWord)
          Returns a random word using nonambiguous alphabet.
 java.lang.String getChallengeConcatinate()
           
 java.lang.String getDate()
           
 java.lang.String getHtmlChallengeTable()
           
static java.lang.String[] getNonAmbiguousLetters()
           
static java.lang.String[] getNumberLetters()
           
 void makeChallengeCard()
           
static void makeHugeTable()
          An example in how to make a huge random word table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberLetters

public static java.lang.String[] numberLetters

nonAmbiguousLetters

public static java.lang.String[] nonAmbiguousLetters
Constructor Detail

Passwords

public Passwords()
Method Detail

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()