created comments

This commit is contained in:
Václav Šmejkal 2022-05-04 19:27:51 +02:00
parent 2156aff370
commit cd9f29041d
2 changed files with 10 additions and 10 deletions

View File

@ -2,20 +2,20 @@
#define WHY2_FLAGS_H #define WHY2_FLAGS_H
//CONSTS //CONSTS
#define ENCRYPTION_SEPARATOR '.' #define ENCRYPTION_SEPARATOR '.' //SEPARATOR BETWEEN KEYS
#define ENCRYPTION_SEPARATOR_STRING "." #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 VERSION "v3.1" //VERSION OF CURRENT BUILD > DO NOT TOUCH THIS <
#define VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/stable/versions.json" #define VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/stable/versions.json" //URL FOR GETTING versions.json
#define VERSIONS_NAME "versions.json" #define VERSIONS_NAME "versions.json" //do I have to explain this?
//VARIABLES //VARIABLES
static int keyLength = 50; static int keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS <
static int skipCheck = 0; static int skipCheck = 0; //BOOLEAN FOR SKIPPING VERSION CHECK
static int noOutput = 0; static int noOutput = 0; //BOOLEAN FOR NOT PRINTING OUTPUT WHEN ENCRYPTING/DECRYPTING
//GETTERS //GETTERS
int getSkipCheck(); int getSkipCheck();

View File

@ -2,7 +2,7 @@
#define WHY2_MISC_H #define WHY2_MISC_H
void checkVersion(); //THIS FUNCTION CHECKS IF LATEST VERSION OF WHY2 IS USED 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 int countIntLength(int number); //RETURNS LENGTH OF number
#endif #endif