ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
  • 128-bit, 192-bit and 256-bit AES encryption with the Output Feedback (OFB) mode
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
NdxEncryption (Property)
In french: CryptageNdx
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
Warning
From version 28 (75), NdxCryptMethod is kept for backward compatibility. This property has been replaced with NdxEncryption.
The NdxEncryption property sets the encryption method of the index file (.NDX) associated with a data file. You can:
  • Know how to encrypt an index file associated with a data file (data file defined in the data model editor or programmatically defined).
  • Programmatically define the encryption method of an index file associated with a data file.
Example
// Connaître le mode de cryptage du fichier d'index associé au fichier de données Client
ResCryptage = Client.CryptageNdx
Syntax

Getting the encryption method of an index file Hide the details

<Current encryption method> = <Data file>.NdxEncryption
<Current encryption method>: Integer constant
The encryption methods are:
hEncryptionAES128Encryption is performed only if a password is set for the data file. In this case, the index file is encrypted using a 128-bit AES algorithm with the Output Feedback (OFB) mode.
hEncryptionAES192Encryption is performed only if a password is set for the data file. In this case, the index file is encrypted using a 192-bit AES algorithm with the Output Feedback (OFB) mode.
hEncryptionAES256Encryption is performed only if a password is set for the data file. In this case, the index file is encrypted using a 256-bit AES algorithm with the Output Feedback (OFB) mode.
hEncryptionAutoEncryption is performed only if a password is set for the data file. In this case, the index file is encrypted using an optimized 16-round RC5 algorithm with a 128-bit key.
hEncryptionNONo encryption is performed on the index file.
hEncryptionRC5_12The index file is encrypted using an optimized 12-round RC5 algorithm with a 128-bit key.
hEncryptionRC5_16The index file is encrypted using an optimized 16-round RC5 algorithm with a 128-bit key.
hEncryptionStandardThe index file is encrypted using an optimized 128-bit algorithm.
<Data file>: Character string
Name of the data file used. This name is defined with the File Description type.

Defining the encryption method of an index file Hide the details

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

128-bit, 192-bit and 256-bit AES encryption with the Output Feedback (OFB) mode

  • If the index file is encrypted using the AES algorithm, you need to use the same method to encrypt memo files (MmoEncryption property) and data (FicEncryption property).
  • If there is encryption that uses the AES algorithm, the option "Enable enhanced security " is automatically applied.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/13/2025

Send a report | Local help