3 #ifndef FILE_CACHE_HASH_H_ 4 #define FILE_CACHE_HASH_H_ 20 static int MAX_MD5_LENGTH;
22 static int MAX_SHA1_LENGTH;
26 static std::string
getHash(std::string url);
29 return MAX_SHA1_LENGTH;
Arc namespace contains all core ARC classes.
Definition: ArcConfig.h:11
static std::string getHash(std::string url)
Return a hash of the given URL, according to the current hash scheme.
FileCacheHash provides methods to make hashes from strings.
Definition: FileCacheHash.h:16
static int maxLength()
Return the maximum length of a hash string.
Definition: FileCacheHash.h:28