implemented decrypter

This commit is contained in:
Václav Šmejkal 2022-03-07 17:34:09 +01:00
parent 30c18b73ab
commit e6f6d3f221
2 changed files with 5 additions and 2 deletions

View File

@ -4,10 +4,10 @@ all: main
files = src/test/main.c
# Source files
files += src/encrypter.c
files += src/*.c
# Header files
files += include/encrypter.h
files += include/*.h
main:
@echo Compiling...

View File

@ -1,12 +1,15 @@
#include <stdio.h>
#include "../../include/encrypter.h"
#include "../../include/decrypter.h"
int
main(int args, char * argv[])
{
char *text = encryptText("ENGO WAS HERE");
text = decryptText(text, "someRandomKeyLulw");
printf("%s\n", text);
return 0;
}