rexglue-skate3/include/rex/crypto/sha256.h
2026-05-18 22:41:13 +01:00

18 lines
354 B
C++

/**
* SHA256 hashing utilities
*
* Provides SHA256 hashing for strings and files, used for cache invalidation.
*/
#pragma once
#include <filesystem>
#include <string>
#include <string_view>
namespace rex::crypto {
std::string sha256(std::string_view data);
std::string sha256_file(const std::filesystem::path& path);
} // namespace rex::crypto