created encryptionOperation function
see next commit for context
This commit is contained in:
parent
a40f9637f0
commit
178df23585
@ -64,4 +64,7 @@ void setEncryptionSeparator(char encryptionSeparatorNew);
|
|||||||
void setKeyLength(int keyLengthNew);
|
void setKeyLength(int keyLengthNew);
|
||||||
void setFlags(inputFlags newFlags); //.... whatcha think?
|
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
|
#endif
|
||||||
|
@ -64,4 +64,11 @@ void setKeyLength(int keyLengthNew)
|
|||||||
void setFlags(inputFlags newFlags)
|
void setFlags(inputFlags newFlags)
|
||||||
{
|
{
|
||||||
flags = 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;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user