aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/KeyGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/KeyGen.h')
-rw-r--r--src/core/KeyGen.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/KeyGen.h b/src/core/KeyGen.h
new file mode 100644
index 00000000..129859ce
--- /dev/null
+++ b/src/core/KeyGen.h
@@ -0,0 +1,11 @@
+#pragma once
+
+class CKeyGen
+{
+ static uint32 keyTable[256];
+public:
+ static uint32 GetKey(const char *str, int size);
+ static uint32 GetKey(const char *str);
+ static uint32 GetUppercaseKey(const char *str);
+ static uint32 AppendStringToKey(uint32 key, const char *str);
+}; \ No newline at end of file