|
QuickHash Library |
C++ Interface |
|
CSHA1::Update
void Update( const unsigned char* pSrc,
unsigned int nSrcLength );
void Update( const char* pSrc );
Parameters
pSrc
[in]
In the first case - pointer to
the continuous memory block with which to update the CSHA1 object.
In the second case - pointer to the
null-terminated string with which to update the CSHA1 object.
nSrcLength
[in] Length in bytes
of the memory block.
Remarks
Updates the CSHA1 object with the memory block
pointed by pSrc. Call this member function for each continuous memory
block of the data for which the message digest is calculated.
Updates the CSHA1 object with the
null-terminated string pointed by pSrc. Call this member function for each
null-terminated string for which the message digest is calculated.
To retrieve the digest after using Update, call Final
or FinalHex.
Example
See the example for CSHA1::Final.
CSHA1 Overview
| Class Members
|
Useful Links | HashCalc
See Also CSHA1::Final, CSHA1::FinalHex
|