Functions | |
std::string | sha1 (std::string_view data) |
std::string | sha256 (std::string_view data) |
Variables | |
constexpr size_t | SHA1_DIGEST_SIZE = 20 |
constexpr size_t | SHA256_DIGEST_SIZE = 32 |
std::string hashing::sha1 | ( | std::string_view | data | ) |
References sha1(), and SHA1_DIGEST_SIZE.
Referenced by Server::addMediaFile(), IClientMediaDownloader::checkAndLoad(), Client::handleCommand_MediaPush(), ModApiUtil::l_sha1(), sha1(), TEST_CASE(), TestMapSettingsManager::testMapSettingsManager(), and translate_password().
std::string hashing::sha256 | ( | std::string_view | data | ) |
References FATAL_ERROR_IF, and SHA256_DIGEST_SIZE.
Referenced by ModApiUtil::l_sha256(), and TEST_CASE().
|
constexpr |
Referenced by sha1().
|
constexpr |
Referenced by sha256().