Introduce a base class for hashers

This commit is contained in:
hashlag
2025-08-09 19:34:58 +03:00
parent 3841242bdb
commit 39344fe01c
3 changed files with 29 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
#include <string>
#include "Hash.hpp"
#include "Hasher.hpp"
namespace Chaos::Hashing::Md5
{
@@ -172,7 +173,7 @@ struct Md5Hash : public Hash<Md5Hash>
std::array<uint8_t, 16> RawDigest;
};
class Md5Hasher
class Md5Hasher : public Hasher<Md5Hasher>
{
public:
Md5Hasher()