folly::hash::SpookyHashV2::Hash32

Hash a single message in one call, producing 32-bit output.

Synopsis

Declared in <folly/hash/SpookyHashV2.h>

static
uint32_t
Hash32(
    void const* message,
    size_t length,
    uint32_t seed);

Return Value

The 32-bit hash of the message

Parameters

NameDescription
messageMessage to hash
lengthLength of the message in bytes
seedSeed value