Package com.atlassian.crowd.crypto
Class Base64Encryptor
java.lang.Object
com.atlassian.crowd.crypto.Base64Encryptor
- All Implemented Interfaces:
Encryptor
Encryptor that uses base64 to encode and decode input string.
This implementation is not a safe encryption mechanism. Do not use it in production!
-
Constructor Details
-
Base64Encryptor
public Base64Encryptor()
-
-
Method Details
-
encrypt
Description copied from interface:Encryptor
Encrypt plaintext password, and return encrypted value which can later be used in decrypt method to get plaintext password. -
decrypt
Description copied from interface:Encryptor
Decrypt encrypted password, and return its original value.In case of any error during decryption (such as missing decryption key) return
encryptedPassword
.
-