QuickHash Library API

HMAC API Functions

SL_HMAC_Init Initializes the context with a key that represents a continuous block of memory.

SL_HMAC_InitKeyStr Initializes the context with a key that represents a null-terminated string.

SL_HMAC_Update Updates the context with a continuous block of memory.

SL_HMAC_UpdateStr Updates the context with a null-terminated string.

SL_HMAC_Final Retrieves the HMAC from the context and reinitializes the context.

SL_HMAC_FinalHex Retrieves the HMAC from the context and reinitializes the context. The obtained HMAC is a null-terminated hexadecimal string.

SL_HMAC_Calculate Calculates the HMAC for a continuous block of memory.

SL_HMAC_CalculateStr Calculates the HMAC for a null-terminated string.

SL_HMAC_CalculateHex   Calculates the HMAC for a continuous block of memory. The obtained HMAC is a null-terminated hexadecimal string.

SL_HMAC_CalculateStrHex   Calculates the HMAC for a null-terminated string. The obtained HMAC is a null-terminated hexadecimal string.

SL_HMAC_GetDigestSize   Returns the size of the digest for the hash algorithm selected for calculations.

HMAC API Overview   |   Useful Links   |   HashCalc


 

 

Send Feedback to SlavaSoft Inc. Tell a friend about QuickHash Library