Update Method
Feeds a chunk of data to the hash function.
Syntax
int Update(const QByteArray& qbaBuffer);
Remarks
This method feeds Buffer to the hash function. Call this methodrepeatedly to pass your data to the hash function chunk by chunk.
Remember to initialize the hash function with an Reset call beforestarting to feed data with this method. After the whole volume ofdata has been sent, complete the calculation and obtain the resultingmessage digest with a Finish call.
Error Handling
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)