21 #ifndef PAGESPEED_KERNEL_BASE_SIGNATURE_H_
22 #define PAGESPEED_KERNEL_BASE_SIGNATURE_H_
36 #ifndef ENABLE_URL_SIGNATURES
37 #define ENABLE_URL_SIGNATURES 1
40 namespace net_instaweb {
virtual int RawSignatureSizeInBytes() const =0
The number of bytes RawSign will produce.
Definition: signature.h:42
virtual GoogleString RawSign(StringPiece key, StringPiece data) const =0
Computes a binary signature of a given data under key.
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
GoogleString Sign(StringPiece key, StringPiece data) const
virtual int SignatureSizeInChars() const =0
Returns the string length of the signatures produced by the Sign() method.