changed textKeyChain generation
it's a little change but it will make encryption/decryption old text UNSUCCESSFUL
This commit is contained in:
parent
3d48c87d8b
commit
0d64f4fa7c
@ -151,7 +151,7 @@ void generateTextKeyChain(char *key, int *textKeyChain, int textKeyChainSize)
|
||||
numberBuffer -= getKeyLength();
|
||||
}
|
||||
|
||||
numberBuffer2 = numberBuffer + (i < textKeyChainSize);
|
||||
numberBuffer2 = getKeyLength() - (numberBuffer + (i < textKeyChainSize));
|
||||
|
||||
//FILL textKeyChain
|
||||
if ((numberBuffer + 1) % 3 == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user