removed load/save secret to file functions.
sophuwu sophie@sophuwu.site
Fri, 06 Oct 2023 09:12:20 +0200
1 files changed,
0 insertions(+),
12 deletions(-)
jump to
M
main.cpp
→
main.cpp
@@ -24,18 +24,6 @@ | (strchr(base16, s[i*2+1]) - base16);
} } - void load(char* file) { - FILE* f = fopen(file, "r"); - fread(bytes, 1, 16, f); - fclose(f); - } - - void save(char* file) { - FILE* f = fopen(file, "w"); - fwrite(bytes, 1, 16, f); - fclose(f); - } - void generate() { std::srand(std::chrono::high_resolution_clock::now().time_since_epoch().count()); int r, i, j;