ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Encryption/compression functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Constants for encryption/compression

ConstantDetailUsed by the following functions
compressGZIPThe string will be compressed with the GZIP algorithm.Compress
compressLZWThe string will be compressed before it is encrypted.Compress,
Encrypt,
Decrypt
compressNoneNo compression is performed.Compress,
Encrypt,
Decrypt
compressShortStringThe string will be compressed via an algorithm optimized for the short character strings.Compress,
Encrypt,
Decrypt
crypt3DESEncryption algorithm used: Triple Data Encryption Standard.
  • Key size: 192 bits.
  • Block size: 64 bits.
  • Initialization vector (IV) size: 64 bits.
EncryptStandard, DecryptStandard
cryptAES128Encryption algorithm used: Advanced Encryption Standard.
  • Key size: 128 bits.
  • Block size: 128 bits.
  • Initialization vector (IV) size: 128 bits.
EncryptStandard, DecryptStandard
New in version 2025
cryptAES192
Encryption algorithm used: Advanced Encryption Standard.
  • Key size: 192 bits.
  • Block size: 128 bits.
  • Initialization vector (IV) size: 128 bits.
EncryptStandard, DecryptStandard
cryptAES256Encryption algorithm used: Advanced Encryption Standard.
  • Key size: 256 bits.
  • Block size: 128 bits.
  • Initialization vector (IV) size: 128 bits.
EncryptStandard, DecryptStandard
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.Encrypt, Decrypt
cryptCBCHow blocks are processed by the encryption algorithm: Cipher Block ChainingEncryptStandard, DecryptStandard
cryptCFBEncryption algorithm block processing mode: Cipher Feedback. EncryptStandard, DecryptStandard
cryptCTREncryption algorithm block processing mode: Cipher Counter - Counter-based encryption. EncryptStandard, DecryptStandard
cryptDESEncryption algorithm used: Data Encryption Standard.
  • Key size: 64 bits.
  • Block size: 64 bits.
  • Initialization vector (IV) size: 64 bits.
Warning: this algorithm is currently deprecated.
EncryptStandard, DecryptStandard
cryptECBHow blocks are processed by the encryption algorithm: Electronic Code Book - Code Dictionary. This mode of operation is not recommended and should only be used for compatibility reasons.EncryptStandard, DecryptStandard
cryptFastFast encryption (algorithm on 128 bits)Encrypt, Decrypt, fEncrypt, fDecrypt
cryptNoneNo encryption is performedEncrypt, Decrypt, fEncrypt, fDecrypt
cryptPaddingOAEPHow encrypted data is padded to match the size required by block encryption algorithms: Data is padded with bytes whose value corresponds to the total number of bytes added to reach the required size.EncryptAsymmetric, DecryptAsymmetric
cryptPaddingPKCS1How encrypted data is padded to match the size required by block encryption algorithms: Data is padded with bytes whose value corresponds to the total number of bytes added to reach the required size.EncryptAsymmetric, DecryptAsymmetric
cryptPaddingPKCSHow encrypted data is padded to match the size required by block encryption algorithms: Data is padded with bytes whose value corresponds to the total number of bytes added to reach the required size.EncryptStandard, DecryptStandard
cryptPaddingZeroHow encrypted data is padded to match the size required by block encryption algorithms: Data is padded with binary zeros until the required size is reached.EncryptStandard, DecryptStandard
cryptRC516Priority given to encryption security (RC5 algorithm on 16 rounds).Encrypt, Decrypt, fEncrypt, fDecrypt
cryptSecureSecure encryption (RC5 on 128 bits).Encrypt, Decrypt, fEncrypt, fDecrypt
encodeBASE64Encrypted string or file format: BASE 64. The encoded text contains printable characters only.Encrypt, Decrypt,
fEncrypt, fDecrypt,
Encode, Decode
encodeBASE64NoCRBASE 64 format (complies with RFC 4648 standard) without RCs (Carriage Returns). The encoded text contains printable characters only.Encode, Decode
encodeBASE64URLEncrypted string or file format: BASE 64 URL. The encoded text contains printable characters only.Encode, Decode
encodeBASE85Encrypted string or file format: BASE 85. The encoded text contains printable characters only.Encode, Decode
encodeNoneEncrypted string or file format: Binary.Encrypt, Decrypt, fEncrypt, fDecrypt
encodePCSEncrypted string or file format: ASCII. The encoded text contains printable characters only.Encrypt, Decrypt,
fEncrypt, fDecrypt,
Encode, Decode
encodeURLFromAnsiEncrypted string or file format: URL. The encoded text only contains characters allowed in a URL. The text to encode is an ANSI string.Encode
URLEncode
encodeURLFromUnicodeEncrypted string or file format: URL. The encoded text only contains characters allowed in a URL. The text to encode is a Unicode string.Encode
URLEncode
encodeURLFromUTF8Encrypted string or file format: URL. The encoded text only contains characters allowed in a URL. The text to encode is a UTF-8 string.Encode
URLEncode
encodeURLParameterEncrypted string or file format: URL. The reserved characters of a URL are encoded in order to pass a URL as parameter to another URL.
Warning: you must first encode the URL passed as a parameter with one of the constants encodeURLDfromAnsi, encodeURLDfromUnicode or encodeURLDfromUTF8.
Encode
URLEncode
encodeURLToAnsiEncrypted string or file format: URL. The encoded text only contains characters allowed in a URL. The decoded text is an ANSI string.Decode
URLDecode
encodeURLToUnicodeEncrypted string or file format: URL. The encoded text only contains characters allowed in a URL. The decoded text is a Unicode string.Decode
URLDecode
encodeURLToUTF8Encrypted string or file format: URL. The encoded text only contains characters allowed in a URL. The decoded text is a UTF-8 string.Decode
URLDecode
encodeUUEncodeEncrypted string or file format: UUEncode. The encoded text contains printable characters only.Encrypt, Decrypt,
fEncrypt, fDecrypt,
Encode, Decode
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help