9#include "MantidKernel/DllConfig.h"
16namespace ChecksumHelper {
18MANTID_KERNEL_DLL std::string
loadFile(
const std::string &filepath,
const bool unixEOL);
20MANTID_KERNEL_DLL std::string
md5FromString(
const std::string &input);
22MANTID_KERNEL_DLL std::string
sha1FromString(
const std::string &input);
24MANTID_KERNEL_DLL std::string
sha1FromFile(
const std::string &filepath,
const bool unixEOL);
26MANTID_KERNEL_DLL std::string
gitSha1FromFile(
const std::string &filepath);
MANTID_KERNEL_DLL std::string sha1FromString(const std::string &input)
create a SHA-1 checksum from a string
MANTID_KERNEL_DLL std::string gitSha1FromFile(const std::string &filepath)
create a git checksum from a file (these match the git hash-object command)
MANTID_KERNEL_DLL std::string md5FromString(const std::string &input)
create a md5 checksum from a string
MANTID_KERNEL_DLL std::string loadFile(const std::string &filepath, const bool unixEOL)
Load contents of file into a string.
MANTID_KERNEL_DLL std::string sha1FromFile(const std::string &filepath, const bool unixEOL)
create a SHA-1 checksum from a file