public class PlainTextPasswordCipher extends java.lang.Object implements PasswordCipher
PlainTextPasswordCipher is an PasswordCipher
implementation that does not use any encryption/decryption algorithm at all.| Constructor and Description |
|---|
PlainTextPasswordCipher() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
decrypt(char[] encryptedPassword)
Returns the
encryptedPassword as plain text string. |
char[] |
encrypt(java.lang.String plainPassword)
Returns the
plainPassword as plain text character array. |
public java.lang.String decrypt(char[] encryptedPassword)
encryptedPassword as plain text string.decrypt in interface PasswordCipherencryptedPassword - the encoded passwordPasswordCipher.decrypt(char[])public char[] encrypt(java.lang.String plainPassword)
plainPassword as plain text character array.encrypt in interface PasswordCipherplainPassword - the plain-text passwordPasswordCipher.encrypt(String)