From 855affd9b681d98f248009ddb2c1abe987029f72 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Wed, 15 Jun 2022 18:51:47 +0200 Subject: Crypto: Refactor hash computation ... by renaming HashGenerator to (incremental) Hasher and dropping support for Git/MD5 hashes. The Hasher does not expose the actual hash implementation. --- src/buildtool/crypto/hash_impl_sha256.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/buildtool/crypto/hash_impl_sha256.hpp') diff --git a/src/buildtool/crypto/hash_impl_sha256.hpp b/src/buildtool/crypto/hash_impl_sha256.hpp index d74c1492..106d8a0b 100644 --- a/src/buildtool/crypto/hash_impl_sha256.hpp +++ b/src/buildtool/crypto/hash_impl_sha256.hpp @@ -3,8 +3,9 @@ #include -#include "src/buildtool/crypto/hash_impl.hpp" +#include "src/buildtool/crypto/hasher.hpp" -[[nodiscard]] extern auto CreateHashImplSha256() -> std::unique_ptr; +[[nodiscard]] extern auto CreateHashImplSha256() + -> std::unique_ptr; #endif // INCLUDED_SRC_BUILDTOOL_CRYPTO_HASH_IMPL_SHA256_HPP -- cgit v1.2.3