Page Speed Optimization Libraries
1.13.35.1
|
Public Member Functions | |
MD5Hasher (int hash_size) | |
virtual GoogleString | RawHash (const StringPiece &content) const |
virtual int | RawHashSizeInBytes () const |
The number of bytes RawHash will produce. | |
Public Member Functions inherited from net_instaweb::Hasher | |
Hasher (int max_chars) | |
GoogleString | Hash (const StringPiece &content) const |
int | HashSizeInChars () const |
uint64 | HashToUint64 (const StringPiece &content) const |
Uses first 64-bits of hash to make a uint64 version of hash. | |
Static Public Attributes | |
static const int | kDefaultHashSize = 10 |
|
virtual |
Computes a binary hash of the given content. The returned value is not printable as it is the direct binary encoding of the hash. This operation is thread-safe.
Implements net_instaweb::Hasher.