2022-04-22 18:39:48 +02:00
|
|
|
#ifndef WHY2_MISC_H
|
|
|
|
#define WHY2_MISC_H
|
|
|
|
|
2022-05-06 17:48:28 +02:00
|
|
|
#include <why2/flags.h>
|
|
|
|
|
|
|
|
void checkVersion(inputFlags flags); //THIS FUNCTION CHECKS IF LATEST VERSION OF WHY2 IS USED
|
2022-05-28 19:38:46 +02:00
|
|
|
void generateTextKeyChain(char *key, int *textKeyChain, int textKeyChainSize); //GENERATES ARRAY FOR ENCRYPTION/DECRYPTION
|
2022-05-08 19:54:46 +02:00
|
|
|
void deallocateOutput(outputFlags flags); //DEALLOCATES flags
|
2022-05-26 18:35:15 +02:00
|
|
|
void checkKey(char *key, inputFlags flags); //CHECKS IF KEY IS VALID
|
2022-04-23 18:07:45 +02:00
|
|
|
int countIntLength(int number); //RETURNS LENGTH OF number
|
2022-04-22 18:39:48 +02:00
|
|
|
|
|
|
|
#endif
|