ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE


  • 128-bit, 192-bit and 256-bit AES encryption with the OFB mode of operation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
FicEncryption (Property)
In french: CryptageFic
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
Warning
From version 28 (75), FicCryptMethod is kept for backward compatibility. This property is replaced by FicEncryption.
The FicEncryption property is used to set the encryption method of a data file. You can:
  • Get the encryption method of a data file (.FIC) (file defined in the data model editor or programmatically).
  • Define the encryption method of a data file programmatically.
Example
// Find out the encryption mode of the Customer data file
ResEncrypt = Customer.FicEncryption
Syntax

Finding out the encryption mode of a data file Hide the details

<Current encryption mode> = <Data file>.FicEncryption
<Current encryption mode>: Integer constant
The encryption modes are:
hEncryptionAES128Encryption is performed only if a password is set for the data file. In this case, the data file is encrypted using a 128-bit AES algorithm with Output feedback (OFB).
hEncryptionAES192Encryption is performed only if a password is set for the data file. In this case, the data file is encrypted using a 192-bit AES algorithm with Output feedback (OFB).
hEncryptionAES256Encryption is performed only if a password is set for the data file. In this case, the data file is encrypted using a 256-bit AES algorithm with Output feedback (OFB).
hEncryptionAutoEncryption is performed only if a password is set for the data file. In this case, the data file is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionNONo encryption is performed on the data file.
hEncryptionRC5_12The data file is encrypted according to an optimized encryption algorithm (RC5 12 rounds on 128 bits).
hEncryptionRC5_16The data file is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionStandardThe data file is encrypted according to an optimized encryption algorithm on 128 bits.
<Data file>: Character string
Name of the data file used. This name was defined in the data model editor or with the File Description type.

Defining the encryption mode of a data file Hide the details

<Data file>.FicEncryption = <New encryption mode>
<Data file>: Character string
Name of the data file used. This name was defined by the File Description type.
<New encryption mode>: Integer constant
The encryption modes are:
hEncryptionAES128Encryption is performed only if a password is set for the data file. In this case, the data file is encrypted using a 128-bit AES algorithm with Output feedback (OFB).
hEncryptionAES192Encryption is performed only if a password is set for the data file. In this case, the data file is encrypted using a 192-bit AES algorithm with Output feedback (OFB).
hEncryptionAES256Encryption is performed only if a password is set for the data file. In this case, the data file is encrypted using a 256-bit AES algorithm with Output feedback (OFB).
hEncryptionAutoEncryption is performed only if a password is set for the data file. In this case, the data file is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionNONo encryption is performed on the data file.
hEncryptionRC5_12The data file is encrypted according to an optimized encryption algorithm (RC5 12 rounds on 128 bits).
hEncryptionRC5_16The data file is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionStandardThe data file is encrypted according to an optimized encryption algorithm on 128 bits.
Remarks

128-bit, 192-bit and 256-bit AES encryption with the OFB mode of operation

  • If the data file is encrypted using the AES algorithm, it is necessary to use the same method to encrypt the memos (MmoEncryption property) and indexes (NdxEncryption property).
  • If there is encryption that uses the AES algorithm, the option "Enable a high-security level " is automatically applied. In this mode, a password must be set for the data file. This password will be requested at each automatic modification of the data file.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment