created callback for encryptionOperation

This commit is contained in:
Václav Šmejkal 2022-10-16 19:52:56 +02:00
parent e4c5feedb4
commit 04856bb9f6
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -5,10 +5,13 @@
//CONSTS (this is just local)
#define DEFAULT_FLAGS (inputFlags) { 0, 0, 0 }
int encryptionOperation(int text, int encryptedText);
//VARIABLES
char encryptionSeparator = '.'; //NOPE > DO NOT TOUCH THIS, USE setEncryptionSeparator instead <
unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, USE setKeyLength instead <
inputFlags flags = DEFAULT_FLAGS;
int (*encryptionOperation_cb)(int, int) = encryptionOperation;
//GETTERS
char getEncryptionSeparator()