implemented decrypter
This commit is contained in:
parent
30c18b73ab
commit
e6f6d3f221
4
Makefile
4
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...
|
||||
|
@ -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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user