add lfcrypto, base64

This commit is contained in:
2024-03-28 15:19:05 -07:00
parent 624bd7a23b
commit 360fb91e06
6 changed files with 258 additions and 0 deletions

9
include/lfcrypto.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef LIBFLINT_CRYPTO_H
#define LIBFLINT_CRYPTO_H
#include <stddef.h>
char *b64_encode(const unsigned char *s, size_t sz);
unsigned char *b64_decode(const char *s, size_t sz, size_t *decode_sz);
#endif // LIBFLINT_CRYPTO_H