PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Constants for encryption/compression
Versions 22 and later
WEBDEV - Browser code Most of these constants are now available in browser code
New in version 22
WEBDEV - Browser code Most of these constants are now available in browser code
WEBDEV - Browser code Most of these constants are now available in browser code

ConstantDetailsUsed by the following functions
Versions 21 and later
compressGZIP
New in version 21
compressGZIP
compressGZIP
The string will be compressed with the GZIP algorithm.Compress
compressLZWThe string will be compressed before it is encrypted.Compress,
Crypt,
Uncrypt
compressNoneNo compression is performed.Compress,
Crypt,
Uncrypt
compressShortStringThe string will be compressed via an algorithm optimized for the short character strings.Compress,
Crypt,
Uncrypt
Versions 20 and later
crypt3DES
New in version 20
crypt3DES
crypt3DES
Encryption algorithm used: Triple Data Encryption Standard.
  • Size of key: 192 bits.
  • Size of blocks: 64 bits.
  • Size of initialization vector (IV): 64 bits.
Versions 20 and later
CryptStandard, UncryptStandard
New in version 20
CryptStandard, UncryptStandard
CryptStandard, UncryptStandard
Versions 20 and later
cryptAES128
New in version 20
cryptAES128
cryptAES128
Encryption algorithm used: Advanced Encryption Standard.
  • Size of key: 128 bits.
  • Size of blocks: 128 bits.
  • Size of initialization vector (IV): 128 bits.
Versions 20 and later
CryptStandard, UncryptStandard
New in version 20
CryptStandard, UncryptStandard
CryptStandard, UncryptStandard
Versions 23 and later
cryptAES256
New in version 23
cryptAES256
cryptAES256
Encryption algorithm used: Advanced Encryption Standard.
  • Size of key: 256 bits.
  • Size of blocks: 128 bits.
  • Size of initialization vector (IV): 128 bits.
Versions 20 and later
CryptStandard, UncryptStandard
New in version 20
CryptStandard, UncryptStandard
CryptStandard, UncryptStandard
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.Crypt, Uncrypt
Versions 20 and later
cryptCBC
New in version 20
cryptCBC
cryptCBC
Process mode of blocks by the encryption algorithm: Cipher Block Chaining - Sequence of blocks
Versions 20 and later
CryptStandard, UncryptStandard
New in version 20
CryptStandard, UncryptStandard
CryptStandard, UncryptStandard
Versions 23 and later
cryptCFB
New in version 23
cryptCFB
cryptCFB
Process mode of blocks by the encryption algorithm: Cipher Feedback - Feedback encryption. CryptStandard, UncryptStandard
Versions 23 and later
cryptCTR
New in version 23
cryptCTR
cryptCTR
Process mode of blocks by the encryption algorithm: Cipher Counter - Encryption based on a counter. CryptStandard, UncryptStandard
Versions 20 and later
cryptDES
New in version 20
cryptDES
cryptDES
Encryption algorithm used: Data Encryption Standard.
  • Size of key: 64 bits.
  • Size of blocks: 64 bits.
  • Size of initialization vector (IV): 64 bits.
Versions 20 and later
CryptStandard, UncryptStandard
New in version 20
CryptStandard, UncryptStandard
CryptStandard, UncryptStandard
Versions 20 and later
cryptECB
New in version 20
cryptECB
cryptECB
Process mode of blocks by the encryption algorithm: Electronic Code Book - Dictionary of codes. This operation mode is not recommended and it should only be used for compatibility reasons.
Versions 20 and later
CryptStandard, UncryptStandard
New in version 20
CryptStandard, UncryptStandard
CryptStandard, UncryptStandard
cryptFastFast encryption (algorithm on 128 bits)Crypt, Uncrypt, fCrypt, fUncrypt
cryptNoneNo encryption is performedCrypt, Uncrypt, fCrypt, fUncrypt
Versions 20 and later
cryptPaddingPKCS
New in version 20
cryptPaddingPKCS
cryptPaddingPKCS
Mode for filling the encrypted data in order to be compatible with the size required by the encryption algorithms by block: The data is filled with bytes whose value corresponds to the total number of bytes added to reach the requested size.
Versions 20 and later
CryptStandard, UncryptStandard
New in version 20
CryptStandard, UncryptStandard
CryptStandard, UncryptStandard
Versions 20 and later
cryptPaddingZero
New in version 20
cryptPaddingZero
cryptPaddingZero
Mode for filling the encrypted data in order to be compatible with the size required by the encryption algorithms by block: The data is filled with binary zeros until the requested size is reached.
Versions 20 and later
CryptStandard, UncryptStandard
New in version 20
CryptStandard, UncryptStandard
CryptStandard, UncryptStandard
cryptRC516Priority given to encryption security (RC5 algorithm on 16 rounds).Crypt, Uncrypt, fCrypt, fUncrypt
cryptSecureSecure encryption (RC5 on 128 bits).Crypt, Uncrypt, fCrypt, fUncrypt
encodeBASE64Format of encrypted string or file: BASE64. The encoded text contains printable characters only.Crypt, Uncrypt,
fCrypt, fUncrypt,
Versions 22 and later
Encode, Decode
New in version 22
Encode, Decode
Encode, Decode
Versions 22 and later
encodeBASE64URL
New in version 22
encodeBASE64URL
encodeBASE64URL
Format of encrypted string or file: BASE 64 URL. The encoded text contains printable characters only.
Versions 22 and later
Encode, Decode
New in version 22
Encode, Decode
Encode, Decode
Versions 22 and later
encodeBASE85
New in version 22
encodeBASE85
encodeBASE85
Format of encrypted string or file: BASE 85. The encoded text contains printable characters only.
Versions 22 and later
Encode, Decode
New in version 22
Encode, Decode
Encode, Decode
encodeNoneFormat of encrypted string or file: Binary.Crypt, Uncrypt, fCrypt, fUncrypt
encodePCSFormat of encrypted string or file: ASCII. The encoded text contains printable characters only.Crypt, Uncrypt,
fCrypt, fUncrypt,
Versions 22 and later
Encode, Decode
New in version 22
Encode, Decode
Encode, Decode
Versions 22 and later
encodeURLFromAnsi
New in version 22
encodeURLFromAnsi
encodeURLFromAnsi
Format of encrypted string or file: URL. The encoded text only contains characters allowed in a URL. The text to encode is an ANSI string.
Versions 22 and later
Encode
New in version 22
Encode
Encode
URLEncode
Versions 22 and later
encodeURLFromUnicode
New in version 22
encodeURLFromUnicode
encodeURLFromUnicode
Format of encrypted string or file: URL. The encoded text only contains characters allowed in a URL. The text to encode is a Unicode string.
Versions 22 and later
Encode
New in version 22
Encode
Encode
URLEncode
Versions 22 and later
encodeURLFromUTF8
New in version 22
encodeURLFromUTF8
encodeURLFromUTF8
Format of encrypted string or file: URL. The encoded text only contains characters allowed in a URL. The text to encode is a UTF-8 string.
Versions 22 and later
Encode
New in version 22
Encode
Encode
URLEncode
Versions 22 and later
encodeURLParameter
New in version 22
encodeURLParameter
encodeURLParameter
Format of encrypted string or file: URL. The reserved characters of a URL are encoded in order to pass a URL in parameter to another URL.
Caution: The URL passed in parameter must have been encoded beforehand with one of the encodeURLFromAnsi, encodeURLFromUnicode or encodeURLFromUTF8 constants.
Versions 22 and later
Encode
New in version 22
Encode
Encode
URLEncode
Versions 22 and later
encodeURLToAnsi
New in version 22
encodeURLToAnsi
encodeURLToAnsi
Format of encrypted string or file: URL. The encoded text only contains characters allowed in a URL. The decoded text is an ANSI string.
Versions 22 and later
Decode
New in version 22
Decode
Decode
URLDecode
Versions 22 and later
encodeURLToUnicode
New in version 22
encodeURLToUnicode
encodeURLToUnicode
Format of encrypted string or file: URL. The encoded text only contains characters allowed in a URL. The decoded text is a Unicode string.
Versions 22 and later
Decode
New in version 22
Decode
Decode
URLDecode
Versions 22 and later
encodeURLToUTF8
New in version 22
encodeURLToUTF8
encodeURLToUTF8
Format of encrypted string or file: URL. The encoded text only contains characters allowed in a URL. The decoded text is a UTF-8 string.
Versions 22 and later
Decode
New in version 22
Decode
Decode
URLDecode
encodeUUEncodeFormat of encrypted string or file: UUEncode. The encoded text contains printable characters only.Crypt, Uncrypt,
fCrypt, fUncrypt,
Versions 22 and later
Encode, Decode
New in version 22
Encode, Decode
Encode, Decode
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment