PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • 128-bit, 192-bit and 256-bit AES encryption with 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
FicCryptMethod (Property)
In french: CryptageFic
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
The FicCryptMethod 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.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Versions 24 and later
Android Widget This property is now available in Android widget mode.
Android This property is now available for Android applications.
Java This property is now available for Java applications.
New in version 24
Android Widget This property is now available in Android widget mode.
Android This property is now available for Android applications.
Java This property is now available for Java applications.
Android Widget This property is now available in Android widget mode.
Android This property is now available for Android applications.
Java This property is now available for Java applications.
Example
// Find out the encryption mode of the Customer data file
ResEncrypt = Customer.FicCryptMethod
Syntax

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

<Current encryption mode> = <Data file>.FicCryptMethod
<Current encryption mode>: Integer constant
The encryption modes are:
Versions 24 and later
hEncryptionAES128
New in version 24
hEncryptionAES128
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 Output feedback (OFB).
Versions 27 and later
hEncryptionAES192
New in version 27
hEncryptionAES192
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 Output feedback (OFB).
Versions 27 and later
hEncryptionAES256
New in version 27
hEncryptionAES256
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 Output feedback (OFB).
Versions 19 and later
hEncryptionAuto
New in version 19
hEncryptionAuto
hEncryptionAuto
Encryption 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>.FicCryptMethod = <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:
Versions 24 and later
hEncryptionAES128
New in version 24
hEncryptionAES128
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 Output feedback (OFB).
Versions 27 and later
hEncryptionAES192
New in version 27
hEncryptionAES192
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 Output feedback (OFB).
Versions 27 and later
hEncryptionAES256
New in version 27
hEncryptionAES256
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 Output feedback (OFB).
Versions 19 and later
hEncryptionAuto
New in version 19
hEncryptionAuto
hEncryptionAuto
Encryption 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
Versions 24 and later

128-bit, 192-bit and 256-bit AES encryption with 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 (MmoCryptMethod property) and indexes (NdxCryptMethod 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.
New in version 24

128-bit, 192-bit and 256-bit AES encryption with 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 (MmoCryptMethod property) and indexes (NdxCryptMethod 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.

128-bit, 192-bit and 256-bit AES encryption with 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 (MmoCryptMethod property) and indexes (NdxCryptMethod 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