mirror of
https://github.com/monero-project/monero.git
synced 2025-08-09 01:22:20 -04:00
util: add a SHA256 function
This commit is contained in:
parent
4bf7849297
commit
216f062eb8
3 changed files with 37 additions and 1 deletions
|
@ -184,4 +184,6 @@ namespace tools
|
|||
|
||||
bool is_local_address(const std::string &address);
|
||||
int vercmp(const char *v0, const char *v1); // returns < 0, 0, > 0, similar to strcmp, but more human friendly than lexical - does not attempt to validate
|
||||
|
||||
bool sha256sum(const std::string &filename, crypto::hash &hash);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue