[#BloombergLP-bslh-SpookyHashAlgorithm-2constructor-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::xref:BloombergLP/bslh/SpookyHashAlgorithm.adoc[SpookyHashAlgorithm]::SpookyHashAlgorithm :relfileprefix: ../../../ :mrdocs: Create a `bslh::SpookyHashAlgorithm` seeded with the specified `seed`. == Synopsis Declared in `<bslh_spookyhashalgorithm.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit SpookyHashAlgorithm(char const* seed); ---- == Description Create a `bslh::SpookyHashAlgorithm`, seeded with a 128‐bit (`k_SEED_LENGTH` bytes) seed pointed to by the specified `seed`. Each bit of the supplied seed will contribute to the final hash produced by `computeHash()`. The behaviour is undefined unless `seed` points to at least 16 bytes of initialized memory. == Parameters [cols="1,4"] |=== | Name| Description | *seed* | seed of `k_SEED_LENGTH` bytes used to initialize the algorithm |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#