This commit is contained in:
Sergeanur
2021-01-08 20:51:31 +02:00
parent 4debd89d8e
commit 079b8e0e16
2 changed files with 121 additions and 0 deletions

11
src/core/KeyGen.h Normal file
View File

@@ -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);
};