From 30c18b73abe856318efd991fe757f4a540272966 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 7 Mar 2022 17:33:51 +0100 Subject: [PATCH] created decryption function --- include/decrypter.h | 2 ++ src/decrypter.c | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/include/decrypter.h b/include/decrypter.h index 1bfb115..a56e547 100644 --- a/include/decrypter.h +++ b/include/decrypter.h @@ -1,4 +1,6 @@ #ifndef WHY2_DECRYPTER_H #define WHY2_DECRYPTER_H +char *decryptText(char *text, char *key); //TEXT from WILL BE DECRYPTED WITH KEY AND RETURNED + #endif \ No newline at end of file diff --git a/src/decrypter.c b/src/decrypter.c index e69de29..7a80f3f 100644 --- a/src/decrypter.c +++ b/src/decrypter.c @@ -0,0 +1,12 @@ +#include "../include/decrypter.h" + +#include +#include + +char *decryptText(char *text, char *key) +{ + printf("fuk of\n"); + + exit(0); + return NULL; +} \ No newline at end of file