diff --git a/util.h b/util.h index 2923c91..7f93f29 100644 --- a/util.h +++ b/util.h @@ -21,10 +21,12 @@ public: CryptoPP::SHA3_256 sha3_256; CryptoPP::StringSource str_src( - str_to_hash, true, + str_to_hash, + true, new CryptoPP::HashFilter( - sha3_256, new CryptoPP::HexEncoder( - new CryptoPP::StringSink(digest), false))); + sha3_256, + new CryptoPP::HexEncoder(new CryptoPP::StringSink(digest), + false))); return digest; }