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]

[PREV: Mac.HexFromHex Method...]   [Contents]   [Index]   
   [NEXT: Mac.Instance Method...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.