mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
bbf2608ac2
The previous library we used (picosha3) returned a wrong hash for one particular file. Though this was quite rare (we only found 1 such file), it was a bug with the library regardless. The current sha3 library now comes from https://github.com/stbrumme/hash-library
10 lines
267 B
C++
10 lines
267 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <ghc/filesystem.hpp>
|
|
|
|
std::string calculateSHA3_256(ghc::filesystem::path const& path);
|
|
|
|
std::string calculateSHA256(ghc::filesystem::path const& path);
|
|
|
|
std::string calculateHash(ghc::filesystem::path const& path);
|