From cd9f29041d1e81a869057f5054165d7da521e52d Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 4 May 2022 19:27:51 +0200 Subject: [PATCH] created comments --- include/flags.h | 18 +++++++++--------- include/misc.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) 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