folly::external::farmhash::farmhashcc::Fingerprint128

Fingerprints a byte array to a 128-bit value.

Synopsis

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

uint128_t
Fingerprint128(
    char const* s,
    size_t len);

Return Value

The 128-bit fingerprint of the array.

Parameters

NameDescription
sPointer to the byte array to fingerprint.
lenLength of the array, in bytes.