21 #ifndef PAGESPEED_KERNEL_BASE_HASHER_H_
22 #define PAGESPEED_KERNEL_BASE_HASHER_H_
28 namespace net_instaweb {
34 explicit Hasher(
int max_chars);
GoogleString Hash(const StringPiece &content) const
virtual GoogleString RawHash(const StringPiece &content) const =0
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
int HashSizeInChars() const
uint64 HashToUint64(const StringPiece &content) const
Uses first 64-bits of hash to make a uint64 version of hash.
virtual int RawHashSizeInBytes() const =0
The number of bytes RawHash will produce.