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

This class wraps an implementation of the &quot;SpookyHash&quot; hash algorithm in an interface that is usable in the modular hashing system in `bslh`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class SpookyHashAlgorithm;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslh/SpookyHashAlgorithm/result_type.adoc[`result&lowbar;type`] 
| Typedef indicating the value type returned by this algorithm&period;
|===


== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslh/SpookyHashAlgorithm/_04enum.adoc[`Unnamed enum`] 
| Constants used by this algorithm&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslh/SpookyHashAlgorithm/2constructor-0c.adoc[`SpookyHashAlgorithm`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslh/SpookyHashAlgorithm/computeHash.adoc[`computeHash`] 
| Return the finalized hash value accumulated by this algorithm&period;
| xref:BloombergLP/bslh/SpookyHashAlgorithm/operator_call.adoc[`operator()`] 
| Incorporate the specified `data` of `numBytes` into the hash state&period;
|===



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