EncryptString
Used to encrypt plain text into Rijndael 256-bit using a given salt.
Returns – A RequestResponse containing the encrypted string in the ReturnValue property. (See RequestResponse in Appendix B)
Parameters
Name | Type | Description |
---|---|---|
plainText | string | Required. Any plain text string. |
salt | string | Required. Any combination of text and numbers used to encrypt the plain text string. |
Example – C#
[gdlr_notification icon=”none” type=”color-border” border=”#31BEF9″ color=”#000000″]ServiceAPIClient ws = new ServiceAPIClient();
string salt = “Z1s6aXNQpjQ75wRX1ulI551sR1uHyg3YsOcPLeL9TaM”;
RequestResponse requestResponse;
requestResponse = ws.EncryptString(“plainText”, salt);
[/gdlr_notification]