21 #ifndef PAGESPEED_KERNEL_BASE_SHA1_SIGNATURE_H_ 
   22 #define PAGESPEED_KERNEL_BASE_SHA1_SIGNATURE_H_ 
   29 namespace net_instaweb {
 
   34   static const int kDefaultSignatureSize = 10;
 
   35   static const int kSHA1NumBytes = 20;
 
   41   static int ComputeSizeFromNumberOfBytes(
int num_bytes);
 
virtual GoogleString RawSign(StringPiece key, StringPiece data) const 
Computes a binary signature of a given data under key. 
 
Implementation class of Signature, using HMAC-SHA1 for signing. 
Definition: sha1_signature.h:32
 
virtual int RawSignatureSizeInBytes() const 
The number of bytes RawSign will produce. 
 
Definition: signature.h:42
 
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_. 
Definition: string.h:24
 
int SignatureSizeInChars() const 
Returns the string length of the signatures produced by the Sign() method.