Encrypts a text string. Use to conceal sensitive text entered in fields, such as passwords.
To decrypt encrypted text, use the DecryptString statement.
Syntax
EncryptString("String")
Arguments
| Argument | Description |
|---|---|
| String | Text string to encrypt. |
Example
'Encrypts a password and then saves it to a text file
password = EncryptString(Browser("Login Screen").EditBox("Password").Property("Text"))
AppendToFile("C:\\Testing\\TestData.txt", "Encrypted password: " + password)