2024-03-28 22:19:05 +00:00
|
|
|
#ifndef LIBFLINT_CRYPTO_H
|
|
|
|
#define LIBFLINT_CRYPTO_H
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
2024-03-29 01:30:27 +00:00
|
|
|
unsigned char *b64_encode(const unsigned char *s, size_t sz);
|
2024-03-28 22:19:05 +00:00
|
|
|
unsigned char *b64_decode(const char *s, size_t sz, size_t *decode_sz);
|
2024-03-29 01:30:27 +00:00
|
|
|
unsigned char *hex_decode(const char *orig, size_t *sz);
|
2024-03-28 22:19:05 +00:00
|
|
|
|
|
|
|
#endif // LIBFLINT_CRYPTO_H
|