diff --git a/src/encrypter.c b/src/encrypter.c index d8b73d6..b973f74 100644 --- a/src/encrypter.c +++ b/src/encrypter.c @@ -63,9 +63,9 @@ encryptText(char *text, char *keyNew) numberBuffer = i; //CHECK, IF numberBuffer ISN'T GREATER THAN KEY_LENGTH AND CUT UNUSED LENGTH - while (numberBuffer >= 50) + while (numberBuffer >= KEY_LENGTH) { - numberBuffer -= 50; + numberBuffer -= KEY_LENGTH; } //FILL textKeyChain