| QuickHash Library | API |
|
SL_SHA1_CalculateStr
void SL_HASHCALL SL_SHA1_CalculateStr( void* pDest, const char* pSrc );
Parameters
pDest
[out] Pointer to the memory buffer that will receive the message digest.
pSrc
[in] Pointer to the null-terminated string for which to calculate the message digest.
Remarks
Calculates the message digest for the null-terminated string pointed by pSrc. The digest is retrieved in the memory buffer pointed by pDest. The size of the memory buffer pointed by pDest must be at least SLC_SHA1_DIGESTSIZE bytes.
Note. The call SL_SHA1_CalculateStr( pDest, pSrc );
is equivalent to the call SL_SHA1_Calculate( pDest, pSrc, strlen( pSrc ) );
Example
|
SHA1 API Overview | SHA1 API_Functions | Useful Links | HashCalc
See Also SL_SHA1_CalculateStrHex, SL_SHA1_Calculate, SL_SHA1_CalculateHex
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickHash Library |