EncryptText - method of the Pm object
The encryption of the string by the seed.
String EncryptText(String sText, String sSeed)
|sText||(String) Text that has to be encrypted|
|sSeed||(String) Seed by which the text has to be encrypted (it is necessary for the text decryption). It is recommended to use 5 characters at least.|
The encryption of the password and writing it to "ini" file:
sTxt = "Secret text";
sTextCode = Pm.EncryptText(
Pm.IniFileWrite("#cfg:data.ini", "Passwords", "Password1",
String encryption and decryption according to specific seed.
sTxt = "Hello";
sTextEncrypt = Pm.EncryptText(
Pm.Debug("TextEncrypt = " +
sTextDecrypt = Pm.DecryptText(
Pm.Debug("TextDecrypt = " +
: An error occured if the input text was empty string.