[#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‐bit SpookyHash of `message`. == Synopsis Declared in `<bslh_spookyhashalgorithmimp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslh/SpookyHashAlgorithmImp/Uint32.adoc[SpookyHashAlgorithmImp::Uint32] hash32( void const* message, size_t length, xref:BloombergLP/bslh/SpookyHashAlgorithmImp/Uint32.adoc[Uint32] seed); ---- == Description Hash the specified `length` bytes of `message` using `seed` as a seed. Return the resulting 32‐bit hash. The behavior is undefined unless `message` points at least `length` bytes of initialized memory or `length` is zero. == Return Value 32‐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]#