From 1ea0b1d9ff98d8c44658046019c94f5952ad5c66 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 14 Jun 2022 18:41:53 +0200 Subject: Crypto: Add and use set of globally used hash functions --- src/buildtool/common/tree.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/common/tree.hpp') diff --git a/src/buildtool/common/tree.hpp b/src/buildtool/common/tree.hpp index 6b76f8f1..cbfe721c 100644 --- a/src/buildtool/common/tree.hpp +++ b/src/buildtool/common/tree.hpp @@ -67,7 +67,8 @@ class Tree { } static auto ComputeId(inputs_t const& inputs) -> std::string { - return ComputeHash(ComputeDescription(inputs).dump()); + return HashFunction::ComputeHash(ComputeDescription(inputs).dump()) + .HexString(); } }; -- cgit v1.2.3