Many time we need our URL parameters to be encoded when pass some sensitive information. So here the code which will help you to encode and decode URL Parameters.
Using below snippet you can encrypt your parameters.
Below code you can use to decry pt parameter.
String emailAddress = Encryptor.decrypt(getEncryptionKey(), emailAddress);
Using below snippet you can encrypt your parameters.
Below code you can use to decry pt parameter.
String emailAddress = Encryptor.decrypt(getEncryptionKey(), emailAddress);
0 comments:
Post a Comment