Encrypt
The Encrypt function encrypts a string.
Syntax
The Encrypt function
has the following syntax:
String = Encrypt(Expression)Parameters
The Encrypt function
has the following parameter.
Parameter |
Format |
Description |
|---|---|---|
|
String |
String to encrypt. |
Return value
An encrypted string.
Example
The following example shows how to encrypt a string. The encrypt value uses the servers private key for encryption. The output is server specific.
MyString = Encrypt("Password");
Log(MyString);This example prints the following message to the policy log:
Parser Log: AB953E4925B39218F390AD2E9242E81A