|
|
|
|
|
- 128-bit, 192-bit and 256-bit AES encryption with the Output Feedback (OFB) mode
FicEncryption (Property) In french: CryptageFic
![HFSQL Classic HFSQL Classic](https://doc.pcsoft.fr/ext/images/us/HF.png?-2134303037) Available only with these kinds of connection
Warning
From version 28 (75), FicCryptMethod is kept for backward compatibility. This property has been replaced with FicEncryption.
The FicEncryption property sets 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.
ResEncrypt = Customer.FicEncryption
Syntax
Getting the encryption method of a data file Hide the details
<Current encryption mode> = <Data file>.FicEncryption
<Current encryption mode>: Integer constant The encryption methods are:
| | hEncryptionAES128 | Encryption 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 the Output Feedback (OFB) mode. | hEncryptionAES192 | Encryption 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 the Output Feedback (OFB) mode. | hEncryptionAES256 | Encryption 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 the Output Feedback (OFB) mode. | hEncryptionAuto | Encryption is performed only if a password is set for the data file. In this case, the data file is encrypted using an optimized 16-round RC5 encryption algorithm with a 128-bit key. | hEncryptionNO | No encryption is performed on the data file. | hEncryptionRC5_12 | The data file is encrypted using an optimized 12-round RC5 encryption algorithm with a 128-bit key. | hEncryptionRC5_16 | The data file is encrypted using an optimized 16-round RC5 encryption algorithm with a 128-bit key. | hEncryptionStandard | The data file is encrypted using an optimized 128-bit encryption algorithm. |
<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 method 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 methods are:
| | hEncryptionAES128 | Encryption 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 the Output Feedback (OFB) mode. | hEncryptionAES192 | Encryption 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 the Output Feedback (OFB) mode. | hEncryptionAES256 | Encryption 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 the Output Feedback (OFB) mode. | hEncryptionAuto | Encryption is performed only if a password is set for the data file. In this case, the data file is encrypted using an optimized 16-round RC5 encryption algorithm with a 128-bit key. | hEncryptionNO | No encryption is performed on the data file. | hEncryptionRC5_12 | The data file is encrypted using an optimized 12-round RC5 encryption algorithm with a 128-bit key. | hEncryptionRC5_16 | The data file is encrypted using an optimized 16-round RC5 encryption algorithm with a 128-bit key. | hEncryptionStandard | The data file is encrypted using an optimized 128-bit encryption algorithm. |
Remarks 128-bit, 192-bit and 256-bit AES encryption with the Output Feedback (OFB) mode - If the data file is encrypted using the AES algorithm, you need to use the same method to encrypt memos (MmoEncryption property) and indices (NdxEncryption property).
- If there is encryption that uses the AES algorithm, the option "Enable enhanced security " is automatically applied. In this mode, a password must be set for the data file. This password will be requested each time the data file is automatically modified.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|