|
ATLAS Offline Software
|
Go to the documentation of this file.
10 std::ifstream ifs(
file);
14 "ERROR in CrestFsClient::getHashForFile cannot open file \"" +
file +
"\".");
18 std::vector<char>
buffer(1024 * 1024);
19 while (ifs.read(
buffer.data(),
static_cast<std::streamsize
>(
buffer.size())))
void get_hash_hex_string(const hash256_one_by_one &hasher, std::string &hex_str)
Header file for CREST C++ Client Library.
void hash256_hex_string(InIter first, InIter last, std::string &hex_str)
std::string getHash(std::string_view str)
This method method calculates the hash for string.
void process(RaIter first, RaIter last)
const std::string & getClientVersion()
This method returns the full CrestApi version.
std::string getHashForFile(const std::string &file)
This method method calculates the hash for a file.
static const std::string s_CREST_CLIENT_VERSION