add hex_to_str

This commit is contained in:
2024-03-29 07:18:01 -07:00
parent f60bea0fdd
commit 0408b8d499
4 changed files with 28 additions and 0 deletions

View File

@ -5,7 +5,9 @@
const char *b64_encode(const unsigned char *s, size_t sz);
unsigned char *b64_decode(const char *s, size_t sz, size_t *decode_sz);
const char *hex_encode(const unsigned char *hex, size_t sz);
unsigned char *hex_decode(const char *orig, size_t *sz);
const char *hex_to_str(const unsigned char *hex, size_t sz);
#endif // LIBFLINT_CRYPTO_H