|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PasswordEncryptor
Common interface for all util classes aimed at password encryption.
| Method Summary | |
|---|---|
boolean |
checkPassword(String plainPassword,
String encryptedPassword)
Checks an unencrypted (plain) password against an encrypted one (a digest) to see if they match. |
String |
encryptPassword(String password)
Encrypts (digests) a password. |
| Method Detail |
|---|
String encryptPassword(String password)
password - the password to be encrypted.
boolean checkPassword(String plainPassword,
String encryptedPassword)
plainPassword - the plain password to check.encryptedPassword - the digest against which to check the password.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||