Encrypt
String management function
The Encrypt function encrypts the specified string (not available in WinTask Lite).
Syntax
Encrypt(<Source_string>,<Encrypted_string>)
or
ret=Encrypt(<Source_string>,<Encrypted_string>)
Parameters
<Source_string>, string, constant or variable. String to be encrypted.
<Encrypted_string>, string, variable only. Result of the encryption.
ret, optional numeric return code. The return code is 0 if the encryption has been done successfully, 1 if not. If #IgnoreErrors=0, and the encryption could not be done, the script execution stops and an error message is returned.
Example
a$=InputBoxSecret$("Enter your password:")
Encrypt(a$,encr$)msgbox("Your encrypted password is: "+encr$)