Files
backend/common/Crypto.h
T

12 lines
260 B
C++

#pragma once
#include <string>
namespace visione::crypto
{
std::string sha256(const std::string &value);
std::string randomNumericCode(int digits);
std::string randomToken();
std::string hashSecret(const std::string &secret);
} // namespace visione::crypto