Table of Contents

UnkeyedCryptoHash Constructor

Definition

Namespace
Cuemon.Security.Cryptography
Assemblies
Cuemon.Security.Cryptography.dll
Source
src/Cuemon.Security.Cryptography/UnkeyedCryptoHash.cs

UnkeyedCryptoHash(Func<TAlgorithm>, Action<ConvertibleOptions>)

Initializes a new instance of the UnkeyedCryptoHash<TAlgorithm> class.

protected UnkeyedCryptoHash(Func<TAlgorithm> initializer, Action<ConvertibleOptions> setup)

Parameters

initializer Func<TAlgorithm>

The function delegate that will initialize an instance of HashAlgorithm derived class.

setup Action<ConvertibleOptions>

The ConvertibleOptions which need to be configured.

Exceptions

ArgumentNullException

initializer cannot be null.