From e6f6d3f2210aef1d2695583e522038c039837ac0 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 7 Mar 2022 17:34:09 +0100 Subject: [PATCH] implemented decrypter --- Makefile | 4 ++-- src/test/main.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f56e7c0..09cd2d2 100644 --- a/Makefile +++ b/Makefile @@ -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... diff --git a/src/test/main.c b/src/test/main.c index 389683a..99495dc 100644 --- a/src/test/main.c +++ b/src/test/main.c @@ -1,12 +1,15 @@ #include #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; } \ No newline at end of file