[#BloombergLP-bdlde-Md5-update]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Md5.adoc[Md5]::update
:relfileprefix: ../../../
:mrdocs:

Update the value of this MD5 digest to incorporate the specified `data` having the specified `length` in bytes&period; 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`&period; 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&period; The behavior is undefined unless `0 &lt;&equals; length`&period; Note that if `data` is 0, then `length` also must be 0&period;

== Synopsis

Declared in `&lt;bdlde&lowbar;md5&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
update(
    void const* data,
    int length);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
