rapidhash main function.

Synopsis

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

constexpr
uint64_t
rapidhash_internal(
    char const* p,
    size_t len,
    uint64_t seed,
    uint64_t const* secret) noexcept;

Return Value

A 64‐bit hash.

Parameters

Name

Description

p

Buffer to be hashed.

len

Length of the buffer, in bytes.

seed

64‐bit seed used to alter the hash result predictably.

secret

Triplet of 64‐bit secrets used to alter the hash result predictably.

Created with MrDocs