|
|
|
|
|
- Encrypting and decrypting an external file
- Decrypting a stream in base64binary format
- Encryption in PHP
- Encryption in Android/Java and decryption by a WINDEV application (or conversely)
Decrypt (Function) In french: Décrypte
Warning
From version 24, Uncrypt is kept for backward compatibility. This function has been replaced with Decrypt.
Decrypts a character string that was encrypted by Encrypt. Remark: If the encryption and the decryption are performed on different platforms (encryption in Android and decryption in Windows for example), use EncryptStandard and DecryptStandard. For more details, refer to the "Remarks" paragraph.
// Encrypt a string ResEncrypt = Encrypt("The number of my bank account in Switzerland is 74538290", "Password") ... // Decrypt the string Res = Decrypt(ResEncrypt, "Password")
// Decode the data encoded in base 64 bufDecode is Buffer = Decrypt(bufBase64, "", crypteNone, encodeBASE64)
Syntax
<Result> = Decrypt(<Encrypted string> , <Password> [, <Type of encryption used> [, <Format of encrypted string>]])
Remarks Encrypting and decrypting an external file Decrypting a stream in base64binary format To decrypt a string encrypted in base64, you must use: ResultString = Decrypt(EncryptedString, "", cryptNone, encodeBASE64) // or ResultString = Decrypt(EncryptedString, encodeBASE64)
Related Examples:
|
Unit examples (WEBDEV): The encryption functions
[ + ] This example explains how to use the encryption/decryption functions of WEBDEV. This example allows you to: - Encrypt a character string - Decrypt a character string
|
|
Unit examples (WINDEV): The encryption functions
[ + ] Using the encryption/decryption functions of WINDEV. This example is used to: - Encrypt a character string - Decrypt a character string
|
|
Unit examples (WINDEV Mobile): The encryption functions
[ + ] Using the WLanguage encryption and decryption functions. This example is used to: - Encrypt a character string - Decrypt a character string
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|