|QuickHash Library||Type Library|
void HMAC_CalculateHex( [ in ] int nAlgID, [ out ]HMAC_HexDigest* pDest, [ in, size_is( nSrcLength ) ] const void* pSrc, [ in ]int nSrcLength, [in,size_is( nKeyLength )]const void* pKey, [ in ]int nKeyLength, [ in ] boolean bUpper );
[in] The ID of the hash algorithm selected for calculations. For example, nAlgID has to be set to SHA1_ALGID when you need to calculate the HMAC using SHA-1 hash algorithm.
Note. All supported hash algorithms with their corresponding IDs are specified in the Predefined Constants List.
[out] A memory buffer that will receive the HMAC as an ASCII null-terminated string.
Note. All predefined types are specified in the Predefined Types List.
[in] A continuous memory block for which to calculate the HMAC.
[in] Length in bytes of the memory block.
[in] The key which represents a continuous memory block.
[in] Length in bytes of the key.
[in] Uppercase flag. If bUpper is False, the received HMAC represents a lowercase string, otherwise it represents an uppercase string.
Calculates the HMAC for the pSrc memory block using the key specified by pKey. The HMAC is retrieved as an ASCII null-terminated hexadecimal string in the pDest memory buffer.
Type Library Overview | Type Library Functions | Useful Links | HashCalc
See Also HMAC_Calculate, HMAC_CalculateStr, HMAC_CalculateStrHex, QHASH_ASCIItoBSTR
|Send Feedback to SlavaSoft Inc.||Tell a friend about QuickHash Library|