cryptopals/utils.h

11 lines
313 B
C

#ifndef UTILS_H
#define UTILS_H
#include <stdlib.h>
unsigned char hex_to_byte(const char c);
size_t hex_to_bytes(unsigned char *out, const char hex[static 1]);
unsigned char *bytes_to_base64(unsigned char *out,
const unsigned char in[static 1], size_t len);
#endif /* UTILS_H */