added missing 'countRepeatedKeySize' parameter to decrypter & encrypter
This commit is contained in:
parent
21ab6a8674
commit
e293b2f371
@ -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
|
||||||
};
|
};
|
||||||
|
@ -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
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user