Package org.apache.commons.vfs2.util
Interface Cryptor
- All Known Implementing Classes:
DefaultCryptor
public interface Cryptor
Encrypts and decrypts Strings.
- Since:
- 2.0
-
Method Summary
-
Method Details
-
decrypt
Decrypts the password.- Parameters:
encryptedKey
- the encrypted password.- Returns:
- The plain text password.
- Throws:
Exception
- If an error occurs.
-
encrypt
Encrypt the plain text password.- Parameters:
plainKey
- The password.- Returns:
- The encrypted password String.
- Throws:
Exception
- If an error occurs.
-