UtilityTools.DecryptString Method

This method decrypts a string.

The encryption methods (EncryptString and DecryptString are typically used to securely send "state" information to the client browser. For example, in a "stateless" interview the EncryptString method can be used to securely pass the template's file path to the client browser when an interview is requested. That same encrypted string can then be posted back to the server when the interview is finished. The server can then use the DecryptString method to find the template associated with the interview.

Syntax

public static string DecryptString( string value )

Parameters Description
value The string you want to decrypt. (It cannot be longer than 4096 characters.)