ARC SDK
Static Public Member Functions
Arc::FileCacheHash Class Reference

FileCacheHash provides methods to make hashes from strings. More...

#include <arc/data/FileCacheHash.h>

Static Public Member Functions

static std::string getHash (std::string url)
 Return a hash of the given URL, according to the current hash scheme. More...
 
static int maxLength ()
 Return the maximum length of a hash string. More...
 

Detailed Description

FileCacheHash provides methods to make hashes from strings.

Currently the SHA-1 hash from the openssl library is used.

Member Function Documentation

◆ getHash()

static std::string Arc::FileCacheHash::getHash ( std::string  url)
static

Return a hash of the given URL, according to the current hash scheme.

◆ maxLength()

static int Arc::FileCacheHash::maxLength ( )
inlinestatic

Return the maximum length of a hash string.


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