Update the value of this MD5 digest to incorporate the specified data having the specified length in bytes. If the current state is the default state, the resultant value of this MD5 digest is the application of the MD5 algorithm upon the currently given data of the given length. If this digest has been previously provided data and has not been subsequently reset, the current state is not the default state and the resultant value is equivalent to applying the MD5 algorithm upon the concatenation of all the provided data. The behavior is undefined unless 0 <= length. Note that if data is 0, then length also must be 0.

Synopsis

Declared in <bdlde_md5.h>

void
update(
    void const* data,
    int length);

Created with MrDocs