Initializes a new instance of the HMAC class.

Namespace:  Classless.Hasher.Mac
Assembly:  Classless.Hasher (in Classless.Hasher.dll) Version: 0.8.3649.33599

Syntax

C#
public Hmac(
	BlockHashAlgorithm hashAlgorithm
)
Visual Basic (Declaration)
Public Sub New ( _
	hashAlgorithm As BlockHashAlgorithm _
)
Visual C++
public:
Hmac(
	BlockHashAlgorithm^ hashAlgorithm
)

Parameters

hashAlgorithm
Type: Classless.Hasher..::.BlockHashAlgorithm
The base hash algorithm to use.

Remarks

A random key will be generated.

See Also