added missing 'countRepeatedKeySize' parameter to decrypter & encrypter

This commit is contained in:
Václav Šmejkal 2022-08-24 14:56:21 +02:00
parent 21ab6a8674
commit e293b2f371
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19
2 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,7 @@ outputFlags decryptText(char *text, char *keyNew)
returningText, //DECRYPTED TEXT returningText, //DECRYPTED TEXT
key, //USED KEY key, //USED KEY
countUnusedKeySize(returningText, key), // NUMBER OF UNUSED CHARS IN KEY countUnusedKeySize(returningText, key), // NUMBER OF UNUSED CHARS IN KEY
countRepeatedKeySize(returningText, key), //NUMBER OF REPEATED CHARS IN KEY
compareTimeMicro(startTime, finishTime), // ELAPSED TIME compareTimeMicro(startTime, finishTime), // ELAPSED TIME
SUCCESS //EXIT CODE SUCCESS //EXIT CODE
}; };

View File

@ -139,6 +139,7 @@ outputFlags encryptText(char *text, char *keyNew)
returningText, //ENCRYPTED TEXT returningText, //ENCRYPTED TEXT
key, //GENERATED/USED KEY key, //GENERATED/USED KEY
countUnusedKeySize(text, key), // NUMBER OF UNUSED CHARS IN KEY countUnusedKeySize(text, key), // NUMBER OF UNUSED CHARS IN KEY
countRepeatedKeySize(returningText, key), //NUMBER OF REPEATED CHARS IN KEY
compareTimeMicro(startTime, finishTime), // ELAPSED TIME compareTimeMicro(startTime, finishTime), // ELAPSED TIME
SUCCESS //EXIT CODE SUCCESS //EXIT CODE
}; };