Hashes a byte array to a 128‐bit value, mixing in a 128‐bit seed.

Synopsis

Declared in <folly/external/farmhash/farmhash.h>

uint128_t
Hash128WithSeed(
    char const* s,
    size_t len,
    uint128_t seed);

Return Value

The 128‐bit hash of the array.

Parameters

Name

Description

s

Pointer to the byte array to hash.

len

Length of the array, in bytes.

seed

128‐bit seed mixed into the result.

Created with MrDocs