This commit is contained in:
2025-01-19 23:27:43 -08:00
commit 23a734cf0a
8 changed files with 633 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#include <stdio.h>
#include <string.h>
int main (int argc, char **argv) {
char *key = "GpuInfo";
int keylen = strlen(key);
int c, m;
FILE *fin = fopen("GpuInfo.bin", "r");
FILE *fout = fopen("GpuInfo.txt", "w");
if (!fin || !fout) return 1;
for (int i = 0; (c = fgetc(fin)) != EOF; i++) {
m = key[i % keylen] + i;
fputc(c ^ m, fout);
}
fclose(fin);
fclose(fout);
return 0;
}