Encrypt Method 加密函数
Description 描述
Encrypts a string. 加密字符串
Syntax 语法
Crypt.Encrypt(Data)
Return Value 返回值
String
Example 举例
In the following example, a password is taken from a database and encrypted using the Encrypt method, and then placed in the password edit box using the SetSecure method. 下面的例子是将数据库密码框中的数据进行安全性加密。
pwd = "GetPasswordfromSomewhere"
e_pwd = Crypt.Encrypt(pwd)
Browser("dfgd").Dialog("pass").WinEdit("pwd").SetSecure e_pwd