Initializes a new instance of the HMAC class.

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

Syntax

C#
public Hmac(
	BlockHashAlgorithm hashAlgorithm
)
Visual Basic
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