[#BloombergLP-bslh-SpookyHashAlgorithm-computeHash]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::xref:BloombergLP/bslh/SpookyHashAlgorithm.adoc[SpookyHashAlgorithm]::computeHash
:relfileprefix: ../../../
:mrdocs:

Return the finalized hash value accumulated by this algorithm&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslh/SpookyHashAlgorithm/result_type.adoc[SpookyHashAlgorithm::result&lowbar;type]
computeHash();
----

== Description

Return the finalized version of the hash that has been accumulated&period; Note that this changes the internal state of the object, so calling `computeHash()` multiple times in a row will return different results, and only the first result returned will match the expected result of the algorithm&period; Also note that a value will be returned, even if data has not been passed into `operator()`&period;

== Return Value

finalized hash value


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