CryptoSys API Library Manual

macHexFromHex

Computes a keyed MAC in hex-encoded format from hex-encoded input.

Syntax

[VBA]
Public Function macHexFromHex ( _
    szMsgHex As String, _
    szKeyHex As String, _
    nOptions As Long _
) As String

Parameters

szMsgHex
Message to be signed in hex-encoded format.
szKeyHex
Key in hex-encoded format.
nOptions
Algorithm to be used. Select one from:
API_HMAC_SHA1
API_HMAC_SHA224
API_HMAC_SHA256
API_HMAC_SHA384
API_HMAC_SHA512
API_HMAC_MD5
API_HMAC_RMD160
API_HMAC_SHA3_224
API_HMAC_SHA3_256
API_HMAC_SHA3_384
API_HMAC_SHA3_512
API_CMAC_TDEA
API_CMAC_AES128
API_CMAC_AES192
API_CMAC_AES256
API_MAC_POLY1305
API_KMAC_128
API_KMAC_256

Return Value

String: MAC value in hex-encoded format.
[PREV: macHexFromBytes...]   [Contents]   [Index]   
   [NEXT: macInit...]

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