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

Hash the specified `length` bytes of `message` using `hash1` and `hash2` as seeds&period; Load the higher order bits of the resulting 128&hyphen;bit hash value into `hash1` and the lower order bits in `hash2`&period; The behavior is undefined unless `message` points at least `length` bytes of initialized memory or `length` is zero, and both `hash1` and `hash2` point to at least 8 bytes of initialized, modifiable, memory&period;

== Synopsis

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

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


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