#pragma once #include #include #include #include "picosha3.h" #include static std::string calculateHash(std::string const& path) { std::vector s(picosha3::bits_to_bytes(256)); auto sha3_256 = picosha3::get_sha3_generator<256>(); std::ifstream file(path); return sha3_256.get_hex_string(file); }