Click or drag to resize

MacInit Method

Initialises the Mac object ready for repeated incremental operations.

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public bool Init(
	byte[] key,
	MacAlgorithm macAlg
)

Parameters

key  Byte
Key
macAlg  MacAlgorithm
HMAC algorithm to be used.

Return Value

Boolean
True if successful, False if failed.
Remarks
Only the HMAC-SHA-1 and HMAC-SHA-2 families of MAC algorithms are currently supported in object mode.
See Also