Class Crypto
java.lang.Object
com.apgar.common.lib.ui.widget.passwordwidget.Crypto
Crypto Class used for the Password Widget.
- Author:
- APGAR Consulting
-
Method Summary
-
Method Details
-
decrypt
Decrypt the passed String with authentication verification.- Parameters:
paramString- String to be decrypted- Returns:
- String decrypted String
- Throws:
GeneralSecurityException- Exception
-
encrypt
Encrypt the passed String and append authentication tag.- Parameters:
paramString- String to be encrypted- Returns:
- String encrypted String
- Throws:
GeneralSecurityException- Exception
-