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

Return a 32&hyphen;bit SpookyHash of `message`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslh/SpookyHashAlgorithmImp/Uint32.adoc[SpookyHashAlgorithmImp::Uint32]
hash32(
    void const* message,
    size&lowbar;t length,
    xref:BloombergLP/bslh/SpookyHashAlgorithmImp/Uint32.adoc[Uint32] seed);
----

== Description

Hash the specified `length` bytes of `message` using `seed` as a seed&period; Return the resulting 32&hyphen;bit hash&period; The behavior is undefined unless `message` points at least `length` bytes of initialized memory or `length` is zero&period;

== Return Value

32&hyphen;bit hash value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *message*
| bytes to hash
| *length*
| number of bytes in `message`
| *seed*
| hash seed
|===


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