HmacMessageDigest5 Constructor
Definition
- Namespace
- Cuemon.Security.Cryptography
- Assemblies
- Cuemon.Security.Cryptography.dll
HmacMessageDigest5(byte[], Action<ConvertibleOptions>)
Initializes a new instance of the HmacMessageDigest5 class.
public HmacMessageDigest5(byte[] secret, Action<ConvertibleOptions> setup)
Parameters
secretbyte[]The secret key for HmacMessageDigest5 encryption. The key can be any length, but if it is more than 64 bytes long it will be hashed (using SHA-1) to derive a 64-byte key. Therefore, the recommended size of the secret key is 64 bytes.
setupAction<ConvertibleOptions>The ConvertibleOptions which need to be configured.