WHY2/include/misc.h
ENGO150 4e0a0c7a27 created function checkText
this checks if text has some content
2022-05-29 16:49:18 +02:00

14 lines
553 B
C

#ifndef WHY2_MISC_H
#define WHY2_MISC_H
#include <why2/flags.h>
void checkVersion(inputFlags flags); //THIS FUNCTION CHECKS IF LATEST VERSION OF WHY2 IS USED
void generateTextKeyChain(char *key, int *textKeyChain, int textKeyChainSize); //GENERATES ARRAY FOR ENCRYPTION/DECRYPTION
void deallocateOutput(outputFlags flags); //DEALLOCATES flags
void checkKey(char *key, inputFlags flags); //CHECKS IF KEY IS VALID
void checkText(char *text, inputFlags flags); //CHECKS IF TEXT IS VALID
int countIntLength(int number); //RETURNS LENGTH OF number
#endif