| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.promotego.logic.Sha1Hash
public class Sha1Hash
| Constructor Summary | |
|---|---|
| Sha1Hash() | |
| Method Summary | |
|---|---|
|  java.lang.String | hash(java.lang.String password)Hashes the password provided. | 
|  boolean | match(java.lang.String cryptedPassword,
      java.lang.String password)Compares the hashed password with the plain text password provided. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Sha1Hash()
| Method Detail | 
|---|
public boolean match(java.lang.String cryptedPassword,
                     java.lang.String password)
PasswordHashTool
match in interface PasswordHashToolcryptedPassword - A password hashed using this mechanism.password - A plaintext password to compare to the hashedPassword.
public java.lang.String hash(java.lang.String password)
PasswordHashTool
hash in interface PasswordHashToolpassword - The plaintext password to be hashed.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||