ENCRYPT

Returns the encrypted value of the string passed to the function. Encrypts using encryption key and SessionId. Use it to encrypt URL parameters and other application runtime values which will be decrypted in the same session. Not recommended for encryption of values coming from database.

Syntax

= ENCRYPT(value)

Parameters

value

The value which has to be encrypted. The value should be specified as a string.

Return Type

String

Examples

Example

Returns

= ENCRYPT(OrdersRecordControl.OrderID.Text )

The encrypted value of the OrderID UI control.

= ENCRYPT("UserName")

The encrypted value of UserName variable.