WHY2/src/test/main.c

18 lines
416 B
C
Raw Normal View History

2022-03-20 18:12:25 +01:00
#include <stdio.h>
#include <stdlib.h>
#include "../../include/encrypter.h"
#include "../../include/decrypter.h"
int
main(int args, char *argv[])
{
char *text = encryptText("Pepa smrdí.", "dsadhagsdhuhasvbdzgavdgasvgzduasvgzdavdhbashudbuas");
printf("%s\n", text);
text = decryptText(text, "dsadhagsdhuhasvbdzgavdgasvgzduasvgzdavdhbashudbuas");
printf("%s\n", text);
free(text);
return 0;
}