From e293b2f3715bcbce9350a64b20e6b32c2a6194ab Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 24 Aug 2022 14:56:21 +0200 Subject: [PATCH] added missing 'countRepeatedKeySize' parameter to decrypter & encrypter --- src/lib/decrypter.c | 1 + src/lib/encrypter.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib/decrypter.c b/src/lib/decrypter.c index 94d9606..96fc09a 100644 --- a/src/lib/decrypter.c +++ b/src/lib/decrypter.c @@ -133,6 +133,7 @@ outputFlags decryptText(char *text, char *keyNew) returningText, //DECRYPTED TEXT key, //USED KEY countUnusedKeySize(returningText, key), // NUMBER OF UNUSED CHARS IN KEY + countRepeatedKeySize(returningText, key), //NUMBER OF REPEATED CHARS IN KEY compareTimeMicro(startTime, finishTime), // ELAPSED TIME SUCCESS //EXIT CODE }; diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index a8a066d..bda25ed 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -139,6 +139,7 @@ outputFlags encryptText(char *text, char *keyNew) returningText, //ENCRYPTED TEXT key, //GENERATED/USED KEY countUnusedKeySize(text, key), // NUMBER OF UNUSED CHARS IN KEY + countRepeatedKeySize(returningText, key), //NUMBER OF REPEATED CHARS IN KEY compareTimeMicro(startTime, finishTime), // ELAPSED TIME SUCCESS //EXIT CODE };