Package com.saperion.common.crypto
Class DesEncrypter
java.lang.Object
com.saperion.common.crypto.DesEncrypter
-
Method Summary
-
Method Details
-
encrypt
Encrypt a key.- Parameters:
str- Key- Returns:
- Encrypted key
-
tryDecrypt
Returns the Decrypted Parameter, if encryption can be done. If not, the Input Parameter is returned.- Parameters:
str- Encrypted String- Returns:
- if Decryption can be done, the String wil be returned. if not, the Input Parameter will be returned.
-