Add GetRawDigest() for hashes

This commit is contained in:
hashlag
2025-08-09 21:52:01 +03:00
parent 5eec6231b7
commit 9b4f4a2ef5
3 changed files with 15 additions and 0 deletions

View File

@@ -10,6 +10,11 @@ template<typename T>
class Hash
{
public:
auto GetRawDigest() const
{
return static_cast<const T &>(*this).GetRawDigest();
}
std::string ToHexString() const
{
return static_cast<const T &>(*this).ToHexString();