#ifndef CHAOS_HASH_HASHER_HPP #define CHAOS_HASH_HASHER_HPP #include #include "Hash.hpp" namespace Chaos::Hash { template concept Hasher = requires(T hasher, uint8_t * begin, uint8_t * end) { hasher.Reset(); hasher.Update(begin, end); { hasher.Finish() } -> Hash; }; } // namespace Chaos::Hash #endif // CHAOS_HASH_HASHER_HPP