|
Page Speed Optimization Libraries
1.13.35.1
|
Public Member Functions | |
| MockHasher () | |
| MockHasher (StringPiece hash_value) | |
| virtual GoogleString | RawHash (const StringPiece &content) const |
| void | set_hash_value (const GoogleString &new_hash_value) |
| 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. | |
|
inline |
base64-encodes to "0"
|
inlinevirtual |
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.
1.8.6