The
CryptMethod property allows you to manage the type of encryption used between Client computers and an HFSQL server. You can:
- Find out the type of encryption used for an HFSQL Client/Server connection.
- Define the type of encryption used for the HFSQL Client/Server connection. In this case, if the connection is currently opened, it will be closed then re-opened with the new parameters during a first access to a data file that is using this connection.
Remark: The connection can correspond to:
MyConnection is Connection
// Describe the connection
MyConnection.User = "USER"
MyConnection.Password = "PASSWORD"
MyConnection.Server = "MYSERVER"
MyConnection.Database = "Database"
MyConnection.CryptMethod = hEncryptionRC5_16
MyConnection.Provider = hAccessHFClientServer
MyConnection.Access = hOReadWrite
MyConnection.ExtendedInfo = "Extended information"
HOpenConnection(MyConnection)
Syntax
Finding out the type of encryption for an HFSQL Client/Server connection Hide the details
<Type of encryption> = <Connection used>.CryptMethod
<Type of encryption>: Constant
Returns the type of encryption used for the connection: | |
hEncryptionNO | No encryption is performed |
hEncryptionRC5_16 | The connection between the server and the client computers is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits) |
hEncryptionStandard | The connection between the server and the client computers is encrypted according to an optimized encryption algorithm on 128 bits |
<Connection used>: Name of the connection
Name of the connection used. This name was defined:
Defining the type of encryption for a connection Hide the details
<Connection used>.CryptMethod = <Type of encryption>
<Connection used>: Name of the connection
Name of the connection used. This name was defined:
<Type of encryption>: Constant
Defines the type of encryption used for the connection: | |
hEncryptionNO | No encryption is performed |
hEncryptionRC5_16 | The connection between the server and the client computers is encrypted according to an optimized encryption algorithm (RC5 16 rounds on 128 bits). |
hEncryptionStandard | The connection between the server and the client computers is encrypted according to an optimized encryption algorithm on 128 bits. |