I am trying to decrypt a string which is encrypted in front end(angualrjs) while calling a rest service in java using angular js. I am able to encrypt the string using $crypto.encrypt
( using CryptoJS).I am passing encrypted value as argument using $http.get
method.
But I am not familiar on how to decrypt the value in java.
encryption key in my config:
app.config(['$cryptoProvider', function($cryptoProvider){
$cryptoProvider.setCryptographyKey('ABCD123');
}]);
Thanks in Advance.