Return a 32‐bit SpookyHash of message.

Synopsis

Declared in <bslh_spookyhashalgorithmimp.h>

static
SpookyHashAlgorithmImp::Uint32
hash32(
    void const* message,
    size_t length,
    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

Name

Description

message

bytes to hash

length

number of bytes in message

seed

hash seed

Created with MrDocs