DeterministicEncryption Constructor (String, String, HashMethod, Nullable<(Of <(<'ILogger>)>)>)
Initializes a new instance of the DeterministicEncryption class,
configuring it with a specific key, initialization vector (IV), and hash method.
Namespace:
Walter.CypherAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
public DeterministicEncryption( string key, string iv, HashMethod hashMethod, Nullable<ILogger> logger )
Parameters
- key
- Type: String
The encryption key used for cryptographic operations. This should be a secure, non-reversible string that is kept confidential.
- iv
- Type: String
The initialization vector (IV) used for the encryption process. The IV adds randomness to the encryption, enhancing security and may not be altered.
- hashMethod
- Type: HashMethod
The hash method used for encryption, with a default of SHA256. This specifies the algorithm used for generating the cryptographic hash of the input data.