[#bsl-hashAppend-0f]
= xref:bsl.adoc[bsl]::hashAppend
:relfileprefix: ../
:mrdocs:

Append a string&apos;s representation to a hashing algorithm&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class HASHALG,
    class CHAR&lowbar;TYPE,
    class CHAR&lowbar;TRAITS,
    class ALLOCATOR&gt;
void
hashAppend(
    HASHALG& hashAlg,
    xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;CHAR&lowbar;TYPE, CHAR&lowbar;TRAITS, ALLOCATOR&gt;] const& input);
----

== Description

Pass the specified `input` string to the specified `hashAlg` hashing algorithm of the (template parameter) type `HASHALG`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *hashAlg*
| hashing algorithm object
| *input*
| string to hash
|===


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