This adds a hard dependency on one of Botan or gcrypt. Botan is already a recommended dependency, and gcrypt is probably packaged almost everywhere, so this should not be a big deal. ref #3241
6 lines
77 B
C++
6 lines
77 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
std::string sha1(const std::string& input);
|