Compute the 128‐bit Rabin fingerprint of a string. Return the 64 most significant bits in *msb, and the 64 least significant bits in *lsb.
Synopsis
Declared in <folly/Fingerprint.h>
void
fingerprint128(
StringPiece str,
uint64_t* msb,
uint64_t* lsb);
Parameters
Name |
Description |
str |
The string to fingerprint. |
msb |
Receives the 64 most significant bits of the fingerprint. |
lsb |
Receives the 64 least significant bits of the fingerprint. |
Created with MrDocs