Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
net_instaweb::MD5Hasher Class Reference
Inheritance diagram for net_instaweb::MD5Hasher:
net_instaweb::Hasher

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
 

Member Function Documentation

virtual GoogleString net_instaweb::MD5Hasher::RawHash ( const StringPiece &  content) const
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.


The documentation for this class was generated from the following file: