Package com.logicaldoc.util.security
Class StringEncrypter
java.lang.Object
com.logicaldoc.util.security.StringEncrypter
Utility class to encrypt/decrypt strings
- Since:
- 6.5
- Author:
- Marco Meschieri - LogicalDOC
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStringEncrypter
(String encryptionScheme) StringEncrypter
(String encryptionScheme, String encryptionKey) -
Method Summary
-
Field Details
-
DESEDE_ENCRYPTION_SCHEME
- See Also:
-
DES_ENCRYPTION_SCHEME
- See Also:
-
DEFAULT_ENCRYPTION_KEY
- See Also:
-
-
Constructor Details
-
StringEncrypter
-
StringEncrypter
public StringEncrypter(String encryptionScheme, String encryptionKey) throws StringEncrypter.EncryptionException
-
-
Method Details
-
encrypt
-
decrypt
-