public interface Cryptor
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decrypt(java.lang.String encryptedKey)
Decrypts the password.
|
java.lang.String |
encrypt(java.lang.String plainKey)
Encrypt the plain text password.
|
java.lang.String encrypt(java.lang.String plainKey) throws java.lang.Exception
plainKey
- The password.java.lang.Exception
- If an error occurs.java.lang.String decrypt(java.lang.String encryptedKey) throws java.lang.Exception
encryptedKey
- the encrypted password.java.lang.Exception
- If an error occurs.