19 #ifndef PADDLE_MODEL_PROTECT_UTIL_CRYPTO_SHA256_UTILS_H 20 #define PADDLE_MODEL_PROTECT_UTIL_CRYPTO_SHA256_UTILS_H 27 static void sha256(
const void* data,
size_t len,
unsigned char* md);
28 static std::vector<unsigned char> sha256(
const void* data,
size_t len);
29 static std::vector<unsigned char> sha256(
30 const std::vector<unsigned char>& data);
31 static std::string sha256_string(
const void* data,
size_t len);
32 static std::string sha256_string(
const std::vector<unsigned char>& data);
33 static std::string sha256_string(
const std::string&
string);
34 static std::string sha256_file(
const std::string& path);
40 #endif // PADDLE_MODEL_PROTECT_UTIL_CRYPTO_SHA256_UTILS_H All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16