- 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 is replaced by 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)
This page is also available for…
|
|
|
|