add hex_decode

This commit is contained in:
2024-03-28 18:30:27 -07:00
parent 360fb91e06
commit cf6d3ce892
4 changed files with 58 additions and 5 deletions

View File

@ -3,7 +3,8 @@
#include <stddef.h>
char *b64_encode(const unsigned char *s, size_t sz);
unsigned char *b64_encode(const unsigned char *s, size_t sz);
unsigned char *b64_decode(const char *s, size_t sz, size_t *decode_sz);
unsigned char *hex_decode(const char *orig, size_t *sz);
#endif // LIBFLINT_CRYPTO_H