ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Encrypted character string,Empty string ("") if an error occurred. To get the details of the error, use ErrorInfo.
Text to encrypt.
Password used to encrypt the character string. This password will be used to decrypt the encrypted string (Decrypt). A long password optimizes the encryption security.
Indicates the type of encryption and/or compression:Type of encryption:cryptAnsiThe encryption is identical to the one performed in a WINDEV or WEBDEV application. Useful for the applications that encrypt in WINDEV Mobile and that decrypt in WINDEV for example.To use this constant, <Format of encrypted string> must correspond to the encodePCS constant.Remark: If the cryptAnsi constant is not combined with another constant specifying the type of encryption, the <Password> parameter is ignored.This constant can only be used in WINDEV Mobile for Windows CE. This constant has no effect. cryptNoneNo encryption is performedcryptFast(Default value)Priority is given to the encryption speed (algorithm on 128 bits). The algorithm used will be a Blowfish algorithm. cryptRC516Priority is given to the encryption security (RC5 algorithm on 16 rounds). This constant has no effect. cryptSecurePriority is given to the encryption security (RC5 algorithm on 128 bits). The algorithm used will be a PBE algorithm (Password Based Encryption). Type of compression:compressNone(Default value)No compression is performed. This constant has no effect. compressShortStringThe string will be compressed via an algorithm optimized for the short character strings. This compression will be efficient only if the cryptNone constant is selected and if <Format of encrypted string> corresponds to the encodeNone constant. This constant has no effect. compressLZWThe string will be compressed before it is encrypted. This constant has no effect.
Indicates the format of encrypted string:encodePCS(Default value)ASCII format. The encrypted file will contain printable characters only. The encrypted file will be larger (about 30%) than the initial file. This format can be used to insert an encrypted file into the email body for example.encodeNoneBinary format. The encrypted file may contain non-printable characters. The file will be larger (about 4 bytes) than the initial file.encodeBASE64BASE 64 format. The file is encrypted with the BASE64 algorithm. The encrypted file will be larger (about 30%) than the initial file. To perform an encoding in base 64, you also have the ability to use Encode associated with the encodeBASE64 or encodeBASE64URL constant.The base64 format can be used to insert an encrypted file into the email body for example.encodeUUEncodeUUEncode format. The file is encrypted with the UUEncode algorithm. The encrypted file will be larger (about 30%) than the initial file. This format can be used to insert an encrypted file into the email body for example. This parameter is ignored. The encrypted string will be in BASE 64 format.
Binary format of an encrypted string
Encrypting and decrypting an external file
Encryption in Android/Java and decryption by a WINDEV application (or conversely)
Last update: 10/20/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: