[#BloombergLP-bslh-hashAppend-0f6]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::hashAppend
:relfileprefix: ../../
:mrdocs:

Passes the specified `input` into the specified `hashAlg` to be combined into the internal state of the algorithm which is used to produce the resulting hash value&period; Note that the entire `char` array will be hashed in only one call to `hashAlg`&period; Also note that this `hashAppend` exists because some platforms don&apos;t recognize that adding a const qualifier is a better match for arrays than decaying to a pointer and using the `hashAppend` function for pointers&period;

== Synopsis

Declared in `&lt;bslh&lowbar;hash&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class HASH&lowbar;ALGORITHM,
    size&lowbar;t N&gt;
void
hashAppend(
    HASH&lowbar;ALGORITHM& hashAlg,
    char(& input)[]);
----


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