| QuickHash Library | API |
|
SL_MD2_CalculateHex
void SL_HASHCALL SL_MD2_CalculateHex( void* pDest, const void* pSrc, unsigned int nSrcLength, int bUpper );
Parameters
pDest
[out] Pointer to the text buffer that will receive the message digest.
pSrc
[in] Pointer to the continuous memory block for which to calculate the message digest.
nSrcLength
[in] Length in bytes of the memory block.
bUpper
[in] Uppercase flag. If bUpper is 0, the received message digest represents a lowercase string, otherwise it represents an uppercase string.
Remarks
Calculates the message digest for the memory block pointed by pSrc. The digest is retrieved as a null-terminated hexadecimal string in the text buffer pointed by pDest. The size of the text buffer pointed by pDest must be at least SLC_MD2_HEXDIGESTSIZE characters.
Example
|
MD2 API Overview | MD2 API Functions | Useful Links | HashCalc
See Also SL_MD2_Calculate, SL_MD2_CalculateStr, SL_MD2_CalculateStrHex
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickHash Library |