Class SymmetricEncryption
java.lang.Object
com.idmedia.translationstudio.api.connector.util.SymmetricEncryption
Encryption utility
- Author:
- Phillip Austerfield (phillip.austerfield@idmedia.com)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SymmetricEncryption
-
-
Method Details
-
encrypt
Encrypt Input- Parameters:
sInput- Input to be encryptedsSecretKey- Secret Key- Returns:
- Encryption and base64 encoded or
null
-
decrypt
Decrypt input- Parameters:
sInput- Encrypted input (Base64 encoded as well)sSecretKey- Secret Key- Returns:
- Decrypted Input or
null
-