QuickHash Library API

SL_SHA1_UpdateStr

void SL_HASHCALL SL_SHA1_UpdateStr( void* pContext, const char* pSrc );

Parameters

pContext

    [in/out] Pointer to the context.

 pSrc

    [in] Pointer to the null-terminated string with which to update the context.

Remarks

Updates the context pointed by pContext with the null-terminated string pointed by pSrc. Call this function for each null-terminated string for which the message digest is calculated. To retrieve the digest after using SL_SHA1_UpdateStr, call SL_SHA1_Final or SL_SHA1_FinalHex.

Note. The call SL_SHA1_UpdateStr( pContext, pSrc );

            is equivalent to the call SL_SHA1_Update( pContext, pSrc, strlen( pSrc ) );

 

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

 

See Also    SL_SHA1_Update, SL_SHA1_Final, SL_SHA1_FinalHex, SL_SHA1_Init


 

 

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