summaryrefslogtreecommitdiffstats
path: root/src/core/KeyGen.h
blob: 129859ce4d2a87ac4a8f836885d2f42dd81515a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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);
};