pXORTable:
Code:
byte pXORTable[] = { 0x0D0, 0x36, 0x5, 0x0CD, 0x0A2, 0x0F, 0x0, 0x0F9, 0x0D7, 0x6, 0x93 };
Code:
void FLXOR(char* byKeyIndex, char* pOutput, char* pInput, int nSize, const char* pXORTable)
{
for ( int i = 0; i < nSize; ++i )
pOutput[i] = pXORTable[(*byKeyIndex)++] ^ pInput[i];
}
Lg, Clemi






