folly::external::rapidhash_with_seed

rapidhash seeded hash function.

Synopsis

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

constexpr
uint64_t
rapidhash_with_seed(
    char const* key,
    size_t len,
    uint64_t seed) noexcept;

Description

Calls rapidhash_internal using the provided parameters and default secrets.

Return Value

A 64-bit hash.

Parameters

NameDescription
keyBuffer to be hashed.
lenLength of key, in bytes.
seed64-bit seed used to alter the hash result predictably.