- Managing errors
- Operating mode in Windows Vista (and later)
- Encrypting/Decrypting a character string
- Encryption in PHP
- Encryption in Android/Java and decryption by a WINDEV application (or conversely)
fDecrypt (Function) In french: fDécrypte
Warning
From version 24, fUncrypt is kept for backward compatibility. This function is replaced by fDecrypt.
Syntax
<Result> = fDecrypt(<Path of file to decrypt> , <Path of decrypted file> , <Password> [, <Type of encryption used> [, <Format of encrypted file>]])
Remarks fDecrypt generates an error in the following cases: - the file to decrypt does not exist or it is locked,
- the path of the file to decrypt is invalid,
- the <Password> is an empty string or it differs from the <Password> used to encrypt the file,
- the <Type of decryption> differs from the <Type of encryption> specified during the encryption,
- the <Format of encrypted file> differs from the one specified during the encryption,
- the user has no read rights on the file to decrypt,
- the user has no write rights on the file to decrypt.
- a Unicode string was used for the <Path of file to decrypt> or for the <Path of decrypted file> in an operating system such as Windows 98 or Windows Me.
Encrypting/Decrypting a character string
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 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…
|
|
|