Class StringEncrypter
- java.lang.Object
-
- org.gcube.contentmanager.storageclient.model.protocol.smp.StringEncrypter
-
@Deprecated public class StringEncrypter extends Object
Deprecated.This class can be used to encrypt and decrypt using DES and a given key- Author:
- Javid Jamae @author Roberto Cirillo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringEncrypter.EncryptionExceptionDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static StringDES_ENCRYPTION_SCHEMEDeprecated.static StringDESEDE_ENCRYPTION_SCHEMEDeprecated.
-
Constructor Summary
Constructors Constructor Description StringEncrypter(String encryptionScheme)Deprecated.StringEncrypter(String encryptionScheme, String phrase)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringdecrypt(String unencryptedString)Deprecated.
-
-
-
Field Detail
-
DESEDE_ENCRYPTION_SCHEME
public static final String DESEDE_ENCRYPTION_SCHEME
Deprecated.- See Also:
- Constant Field Values
-
DES_ENCRYPTION_SCHEME
public static final String DES_ENCRYPTION_SCHEME
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StringEncrypter
public StringEncrypter(String encryptionScheme, String phrase) throws StringEncrypter.EncryptionException
Deprecated.
-
StringEncrypter
public StringEncrypter(String encryptionScheme) throws StringEncrypter.EncryptionException
Deprecated.
-
-
Method Detail
-
decrypt
public String decrypt(String unencryptedString) throws StringEncrypter.EncryptionException
Deprecated.
-
-