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
|
files = src/test/main.c
|
||||||
|
|
||||||
# Source files
|
# Source files
|
||||||
files += src/encrypter.c
|
files += src/*.c
|
||||||
|
|
||||||
# Header files
|
# Header files
|
||||||
files += include/encrypter.h
|
files += include/*.h
|
||||||
|
|
||||||
main:
|
main:
|
||||||
@echo Compiling...
|
@echo Compiling...
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "../../include/encrypter.h"
|
#include "../../include/encrypter.h"
|
||||||
|
#include "../../include/decrypter.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int args, char * argv[])
|
main(int args, char * argv[])
|
||||||
{
|
{
|
||||||
char *text = encryptText("ENGO WAS HERE");
|
char *text = encryptText("ENGO WAS HERE");
|
||||||
|
|
||||||
|
text = decryptText(text, "someRandomKeyLulw");
|
||||||
|
|
||||||
printf("%s\n", text);
|
printf("%s\n", text);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user