| QuickHash Library | Type Library |
|
QHASH_BlockHexDigest
BSTR QHASH_BlockHexDigest( [ in ] int nAlgID, [ in, size_is( nSrcLength ) ]const void* pSrc, [ in ] int nSrcLength, [ in ] boolean bUpper );
Return value
The hexadecimal representation of the message digest/checksum.
ParametersnAlgID
[in] The ID of the hash/checksum algorithm selected for calculations. For example, nAlgID has to be set to SHA1_ALGID when you need to calculate the digest using SHA-1 hash algorithm.
Note. All supported hash/checksum algorithms with their corresponding IDs are specified in the Predefined Constants List.
pSrc
[in] A continuous memory block for which to calculate the message digest/checksum.
nSrcLength
[in] Length in bytes of the memory block.
bUpper
[in] Uppercase flag. If bUpper is False, the received message digest/checksum represents a lowercase string, otherwise it represents an uppercase string.
Remarks
Calculates the message digest/checksum for a continuous memory block. The digest/checksum is returned as a hexadecimal string.
Note. If the result is an empty string call QHASH_GetLastError function for the error code.
VB Example
|
Type Library Overview | Type Library Functions | Useful Links | HashCalc
See Also QHASH_BlockDigest, QHASH_StringHexDigest, QHASH_FileHexDigest, QHASH_GetLastError
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickHash Library |