CryptoSys API Library Manual
 
Mac.Init Method
 Initialises the Mac object ready for repeated incremental operations. 
Syntax
[C#]
public bool Init(
	byte[] key,
	MacAlgorithm macAlg
)
[VB.NET]
Public Function Init ( _
	key As Byte(), _
	macAlg As MacAlgorithm _
) As Boolean
Parameters
  - key
 
  - Key
 
  - macAlg
 
  - Type: MacAlgorithm
HMAC algorithm to be used. 
Return Value
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
VB6/C equivalent: MAC_Init
[Contents] [Index]