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- 
decryptDecrypts the password.- Parameters:
- encryptedKey- the encrypted password.
- Returns:
- The plain text password.
- Throws:
- Exception- If an error occurs.
 
- 
encryptEncrypt the plain text password.- Parameters:
- plainKey- The password.
- Returns:
- The encrypted password String.
- Throws:
- Exception- If an error occurs.
 
 
-