[E&D CHANGE] reversed textKeyChain generation
tag 'old-generation-but_newer' contains older generation https://github.com/ENGO150/WHY2/tree/old-generation-but_newer
This commit is contained in:
parent
ee0f9f00af
commit
0f01cde0f1
@ -270,15 +270,15 @@ void generateTextKeyChain(char *key, int *textKeyChain, int textKeyChainSize)
|
||||
//FILL textKeyChain
|
||||
if ((numberBuffer + 1) % 3 == 0)
|
||||
{
|
||||
textKeyChain[i] = key[numberBuffer] * key[numberBuffer2];
|
||||
textKeyChain[textKeyChainSize - (i + 1)] = key[numberBuffer] * key[numberBuffer2];
|
||||
}
|
||||
else if ((numberBuffer + 1) % 2 == 0)
|
||||
{
|
||||
textKeyChain[i] = key[numberBuffer] - key[numberBuffer2];
|
||||
textKeyChain[textKeyChainSize - (i + 1)] = key[numberBuffer] - key[numberBuffer2];
|
||||
}
|
||||
else
|
||||
{
|
||||
textKeyChain[i] = key[numberBuffer] + key[numberBuffer2];
|
||||
textKeyChain[textKeyChainSize - (i + 1)] = key[numberBuffer] + key[numberBuffer2];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user