summaryrefslogtreecommitdiff
path: root/cstrobf.h
diff options
context:
space:
mode:
Diffstat (limited to 'cstrobf.h')
-rw-r--r--cstrobf.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/cstrobf.h b/cstrobf.h
new file mode 100644
index 0000000..c0628a8
--- /dev/null
+++ b/cstrobf.h
@@ -0,0 +1,34 @@
+#pragma once
+/*
+ * LOKI3
+ *
+ * [ cstrobf.h ]
+ *
+ * 2019 and beyond Elective Surgery [dmfr]
+ */
+
+#include <stdio.h>
+#include <sys/types.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include <unistd.h>
+#include <string.h>
+#include <time.h>
+
+
+#define CSTROBF_MAX 1024
+#define KEY_SIZE 8
+
+
+typedef struct cstrobf {
+ uint8_t str[CSTROBF_MAX];
+ size_t size;
+ uint8_t key[KEY_SIZE];
+ size_t ksize;
+} estring;
+
+
+char *decrypt (estring);
+void destroy(char *, size_t);
+
+/* EOF */