From 4e0e29f48f797206a21aa5ba7855ffde72e85cf9 Mon Sep 17 00:00:00 2001 From: Benedict Date: Thu, 4 Aug 2016 19:24:17 +0200 Subject: completed set3, challenge 20 --- set1/task6.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'set1') diff --git a/set1/task6.c b/set1/task6.c index 10e19b2..a6a4bfb 100644 --- a/set1/task6.c +++ b/set1/task6.c @@ -1,33 +1,5 @@ #include "../lib/lib.h" -/** - * split ciphertext in blocks of size blocksize - * @return returns an array of string of size with blocksize elements - */ - - -char **transpose_blocks(char *ciphertext, int blocksize, int length) -{ - char **blocks; - int i, j; - int number_blocks = length / blocksize; - - blocks = malloc(blocksize*(sizeof(char*))); - - for(i=0;i