net_instaweb::MockHasher Class Reference

Inheritance diagram for net_instaweb::MockHasher:
net_instaweb::Hasher

List of all members.

Public Member Functions

 MockHasher ()
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.

Constructor & Destructor Documentation

net_instaweb::MockHasher::MockHasher (  )  [inline]

base64-encodes to "0"


Member Function Documentation

virtual GoogleString net_instaweb::MockHasher::RawHash ( const StringPiece &  content  )  const [inline, 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:34:12 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3