org.yestech.lib.crypto
Class PasswordGenerator

java.lang.Object
  extended by org.yestech.lib.crypto.PasswordGenerator

public class PasswordGenerator
extends java.lang.Object

Version:
$Revision: $
Author:
Artie Copeland

Constructor Summary
PasswordGenerator()
           
 
Method Summary
static java.lang.String createPassword()
          Creates and return a randomly generated password to ICryptoConstants.MIN_LENGTH length.
static java.lang.String createPassword(int len)
          Creates and return a randomly generated password to a supplied length.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordGenerator

public PasswordGenerator()
Method Detail

createPassword

public static java.lang.String createPassword()
Creates and return a randomly generated password to ICryptoConstants.MIN_LENGTH length.

Returns:
The password

createPassword

public static java.lang.String createPassword(int len)
Creates and return a randomly generated password to a supplied length.

Parameters:
len - Length of the password
Returns:
The password


Copyright © 2009 YES Technology Association. All Rights Reserved.