From ddce9b2d44ab48fc566870c5155b39c8fc06f24d Mon Sep 17 00:00:00 2001 From: Benedict Date: Tue, 21 Feb 2017 12:52:02 +0100 Subject: moved files of set1 into subdir --- task5.c | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 task5.c (limited to 'task5.c') diff --git a/task5.c b/task5.c deleted file mode 100644 index 15e4568..0000000 --- a/task5.c +++ /dev/null @@ -1,15 +0,0 @@ -#include "lib.h" - -/* - * implements task 5 of set 1 of matanso challange - */ -int main() -{ - char *stanze = "Burning 'em, if you ain't quick and nimble\nI go crazy when I hear a cymbal"; - - char *result = malloc(strlen(stanze)); - char *printable = malloc(strlen(stanze)*2+1); - xor_string(stanze, "ICE", result, 3, strlen(stanze)); - hex_binary_to_string(result, printable, strlen(stanze)); - printf("%s\n", printable); -} -- cgit v1.2.3-70-g09d2