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