Promotic
WikipediaLinkedInYoutubeTwitterFacebook

EncryptText - method of object Pm

Description:
The encryption of the string by the seed.
Syntax:
EncryptText(sText As String, sSeed As String) As String
Calling:
s = Pm.EncryptText(sText, sSeed)
Parameters:
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.
Note:
For the text decryption serves the Pm.DecryptText method.
 
This method is not functional for Web Panels.
Example:
The encryption of the password and writing it to "ini" file:
Dim sTxt, sTxtCode
sTxt = "Secret text"
sTxtCode = Pm.EncryptText(sTxt, "bflmpsvz")
Pm.IniFileWrite("data.ini", "Password1", sTxtCode)
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- EncryptText
 
 
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice