QuickHash Library API

SL_SHA1_Update

void SL_HASHCALL SL_SHA1_Update( void* pContext, const void* pSrc, unsigned int nSrcLength );

Parameters

pContext

    [in/out] Pointer to the context.

 pSrc

    [in] Pointer to the continuous memory block with which to update the context.

 nSrcLength

    [in] Length in bytes of the memory block.

Remarks

Updates the context pointed by pContext with the memory block pointed by pSrc. Call this function for each continuous memory block of the data for which the message digest is calculated. To retrieve the digest after using SL_SHA1_Update, call SL_SHA1_Final or SL_SHA1_FinalHex.

Example

See the example for SL_SHA1_Final.

 

SHA1 API Overview   |   SHA1 API Functions   |   Useful Links   |   HashCalc

 

See Also    SL_SHA1_UpdateStr, SL_SHA1_Final, SL_SHA1_FinalHex, SL_SHA1_Init


 

 

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