Package com.logicaldoc.util.security
Class StringEncrypter
- java.lang.Object
- 
- com.logicaldoc.util.security.StringEncrypter
 
- 
 public class StringEncrypter extends Object Utility class to encrypt/decrypt strings- Since:
- 6.5
- Author:
- Marco Meschieri - LogicalDOC
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classStringEncrypter.EncryptionException
 - 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_ENCRYPTION_KEYstatic StringDES_ENCRYPTION_SCHEMEstatic StringDESEDE_ENCRYPTION_SCHEME
 - 
Constructor SummaryConstructors Constructor Description StringEncrypter(String encryptionScheme)StringEncrypter(String encryptionScheme, String encryptionKey)
 
- 
- 
- 
Field Detail- 
DESEDE_ENCRYPTION_SCHEMEpublic static final String DESEDE_ENCRYPTION_SCHEME - See Also:
- Constant Field Values
 
 - 
DES_ENCRYPTION_SCHEMEpublic static final String DES_ENCRYPTION_SCHEME - See Also:
- Constant Field Values
 
 - 
DEFAULT_ENCRYPTION_KEYpublic static final String DEFAULT_ENCRYPTION_KEY - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
StringEncrypterpublic StringEncrypter(String encryptionScheme) throws StringEncrypter.EncryptionException 
 - 
StringEncrypterpublic StringEncrypter(String encryptionScheme, String encryptionKey) throws StringEncrypter.EncryptionException 
 
- 
 - 
Method Detail- 
encryptpublic String encrypt(String unencryptedString) throws StringEncrypter.EncryptionException 
 - 
decryptpublic String decrypt(String encryptedString) throws StringEncrypter.EncryptionException 
 
- 
 
-