show / hide menu

EncryptFromSecurity

This function is used to Encrypt the data using security service.

Syntax:

EncryptFromSecurity(Value,Salt)

where

Value is the data getting encrypted

Salt is a value combined with the data to generate a key

Example:

TextBox1.Value=EncryptFromSecurity(“hello”,”abckey”) 

(figure 1)


The function will encryptfromSecurity the value specified.


               (figure 2)

The sample output displayed above will vary each time the function is called.