PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
NdxCryptMethod (Property)
In french: CryptageNdx
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The NdxCryptMethod property is used to configure the encryption method for the index (.NDX) file associated with the data file. You can:
  • Identify the encryption method of an index file associated with a data file (file defined in the data model editor or through programming).
  • Defining the encryption mode of an index file associated with a data file during its description through programming.
Example
// Identify the encryption method for the index file associated with the Customer data file
ResEncrypt = Customer.NdxCryptMethod
Syntax

Identifying the encryption method of an index file Hide the details

<Current encryption mode> = <Data file>.NdxCryptMethod
<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 index 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 index 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 index 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 index file is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionNONo encryption is performed on the index file.
hEncryptionRC5_12The index file is encrypted according to an optimized encryption algorithm (RC5 12 rounds on 128 bits).
hEncryptionRC5_16The index file is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionStandardThe index 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 by the File Description type.

Defining the encryption method for the index file Hide the details

<Data file>.NdxCryptMethod = <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 index 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 index 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 index 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 index file is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionNONo encryption is performed on the index file.
hEncryptionRC5_12The index file is encrypted according to an optimized encryption algorithm (RC5 12 rounds on 128 bits).
hEncryptionRC5_16The index file is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits).
hEncryptionStandardThe index file is encrypted according to an optimized encryption algorithm (on 128 bits).
Remarks

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

  • If the index file is encrypted using the AES algorithm, the same encryption method must be used for the memos (MmoCryptMethod property) and the data (FicCryptMethod property).
  • If there is encryption that uses the AES algorithm, the option "Enable a high-security level " is automatically applied.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment