cryptopals

Cryptopals Challenges
git clone https://git.pngu.org/cryptopals
Log | Files | Refs

blocks.h (280B)


1
2
3
4
5
6
7
8
#pragma once

#include <stdlib.h>

int block_transpose(const unsigned char *str, const int str_len,
                    const int num_blocks, unsigned char ***blocks);
int chunk(const unsigned char *str, const int str_len, const int block_len,
          unsigned char ***blocks);