DecryptString

Used to decrypt a Rijndael 256-bit encrypted string into plain text using a given salt.

Returns – A RequestResponse containing the decrypted string in the ReturnValue property.  (See RequestResponse in Appendix B)

Parameters

Name Type Description
encryptedText string Required. Any Rijndael 256-bit encrypted string.
salt string Required. Any combination of text and numbers
that was used in the encryption of the encrypted
text.

Example – C#
[gdlr_notification icon=”none” type=”color-border” border=”#31BEF9″ color=”#000000″]ServiceAPIClient ws = new ServiceAPIClient();
string salt = “Z1s6aXNQpjQ75wRX1ulI551sR1uHyg3YsOcPLeL9TaM”;
RequestResponse requestResponse;
string decryptedText= string.Empty;

requestResponse = ws.DecryptString(encryptedText , salt);

if (requestResponse.Message == “Success”)
decryptedText = requestResponse.ReturnValue;
[/gdlr_notification]