CryptoSys API Library Manual

macHexFromBytes

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

Syntax

[VBA]
Public Function macHexFromBytes ( _
    lpMessage() As Byte, _
    lpKey() As Byte, _
    nOptions As Long _
) As String

Parameters

lpMessage
Message to be signed in byte format.
lpKey
Key in byte 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: macFinal...]   [Contents]   [Index]   
   [NEXT: macHexFromHex...]

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