[#BloombergLP-bslstl-hashAppend]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::hashAppend
:relfileprefix: ../../
:mrdocs:

Pass the specified `input` to the specified `hashAlg`

== Synopsis

Declared in `&lt;bslstl&lowbar;stringref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class CHAR&lowbar;TYPE,
    class HASHALG&gt;
void
hashAppend(
    HASHALG& hashAlg,
    xref:BloombergLP/bslstl/StringRefImp-0c.adoc[StringRefImp&lt;CHAR&lowbar;TYPE&gt;] const& input);
----


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