diff --git a/include/flags.h b/include/flags.h index 48f88bd..b895b02 100644 --- a/include/flags.h +++ b/include/flags.h @@ -64,4 +64,7 @@ void setEncryptionSeparator(char encryptionSeparatorNew); void setKeyLength(int keyLengthNew); void setFlags(inputFlags newFlags); //.... whatcha think? +//RANDOM SHIT THAT DOESN'T FIT IN MISC, SO I PUT IN HERE +int encryptionOperation(int text, int encryptedText); + #endif diff --git a/src/lib/flags.c b/src/lib/flags.c index 0b7fd19..beeb2cf 100644 --- a/src/lib/flags.c +++ b/src/lib/flags.c @@ -64,4 +64,11 @@ void setKeyLength(int keyLengthNew) void setFlags(inputFlags newFlags) { flags = newFlags; +} + +//THAT COMMENT AFTER 'SETTERS' +int encryptionOperation(int text, int encryptedText) +{ + //CHANGE THE '-' (MINUS) OPERATOR TO SOMETHING YOU WANT TO USE I GUESS + return text - encryptedText; } \ No newline at end of file