添加Openssl,Gmssl加密库

This commit is contained in:
lixiaoyuan
2025-09-22 20:01:41 +08:00
parent ee98556eec
commit 6878952da8
240 changed files with 48082 additions and 2724 deletions

View File

@@ -16,6 +16,10 @@ using namespace std;
class Utils
{
public:
static std::string toHex(std::vector<unsigned char>& s, int len = 0);
static std::string toHex(const std::string& s);
static std::string fromHex(const std::string& hexstr);
static string toStr(int v);
static string toStr(float v, int precision = 2);
static string toStr(double v, int precision = 2);
@@ -85,8 +89,6 @@ public:
static void split(string buf, string c, vector<string>& res);
static std::string readFile(std::string filename);
static std::string toHexStr(int64_t val);
};
class TimeTick