Initialises the Mac object ready for repeated incremental operations.
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic bool Init(
byte[] key,
MacAlgorithm macAlg
)
Public Function Init (
key As Byte(),
macAlg As MacAlgorithm
) As Boolean
Parameters
- key Byte
- Key
- macAlg MacAlgorithm
- HMAC algorithm to be used.
Return Value
BooleanTrue if successful, False if failed.
RemarksOnly the HMAC-SHA-1 and HMAC-SHA-2 families of MAC algorithms are currently supported in object mode.
See Also