diff --git a/include/flags.h b/include/flags.h index f26b7ae..00e7b7f 100644 --- a/include/flags.h +++ b/include/flags.h @@ -2,20 +2,20 @@ #define WHY2_FLAGS_H //CONSTS -#define ENCRYPTION_SEPARATOR '.' -#define ENCRYPTION_SEPARATOR_STRING "." +#define ENCRYPTION_SEPARATOR '.' //SEPARATOR BETWEEN KEYS +#define ENCRYPTION_SEPARATOR_STRING "." //SAME AS ENCRYPTION_SEPARATOR BUT AS STRING -#define INVALID_KEY 1 +#define INVALID_KEY 1 //EXIT VALUE FOR INVALID KEY -#define VERSION "v3.1" -#define VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/stable/versions.json" -#define VERSIONS_NAME "versions.json" +#define VERSION "v3.1" //VERSION OF CURRENT BUILD > DO NOT TOUCH THIS < +#define VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/stable/versions.json" //URL FOR GETTING versions.json +#define VERSIONS_NAME "versions.json" //do I have to explain this? //VARIABLES -static int keyLength = 50; +static int keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS < -static int skipCheck = 0; -static int noOutput = 0; +static int skipCheck = 0; //BOOLEAN FOR SKIPPING VERSION CHECK +static int noOutput = 0; //BOOLEAN FOR NOT PRINTING OUTPUT WHEN ENCRYPTING/DECRYPTING //GETTERS int getSkipCheck(); diff --git a/include/misc.h b/include/misc.h index 2bf4a43..038f621 100644 --- a/include/misc.h +++ b/include/misc.h @@ -2,7 +2,7 @@ #define WHY2_MISC_H void checkVersion(); //THIS FUNCTION CHECKS IF LATEST VERSION OF WHY2 IS USED -void generateTextKeyChain(char key[], int *textKeyChain, int textKeyChainSize); +void generateTextKeyChain(char key[], int *textKeyChain, int textKeyChainSize); //GENERATES ARRAY FOR ENCRYPTION/DECRYPTION int countIntLength(int number); //RETURNS LENGTH OF number #endif