This commit is contained in:
Zheyuan Wu
2026-02-22 17:52:40 -06:00
commit 5b8e846c39
18 changed files with 1194 additions and 0 deletions

9
helper.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef HELPER_H
#define HELPER_H
void load_env(char const* path);
int hex_to_bytes_upper(const char* hex, unsigned char* out, size_t out_size);
char* byte_to_hex(unsigned char* bytes, size_t len);
void cal_hmac(unsigned char* mac, char* message);
#endif