Package org.apache.commons.vfs2.util
Class DefaultCryptor
java.lang.Object
org.apache.commons.vfs2.util.DefaultCryptor
- All Implemented Interfaces:
Cryptor
Allows passwords to be encrypted and decrypted.
Warning: This uses AES128 with a fixed encryption key. This is only an obfuscation no cryptographic secure protection.
- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultCryptor
public DefaultCryptor()Constructs a new instance.
-
-
Method Details
-
decrypt
Decrypts the password. -
encrypt
Encrypt the plain text password.Warning: This uses AES128 with a fixed encryption key. This is only an obfuscation no cryptographic secure protection.
-