|
|
|
@ -29,4 +29,9 @@
|
|
|
|
|
int base58_encode_check(const uint8_t *data, int len, char *str, int strsize);
|
|
|
|
|
int base58_decode_check(const char *str, uint8_t *data, int datalen);
|
|
|
|
|
|
|
|
|
|
// Private
|
|
|
|
|
bool b58tobin(void *bin, size_t *binszp, const char *b58);
|
|
|
|
|
int b58check(const void *bin, size_t binsz, const char *base58str);
|
|
|
|
|
bool b58enc(char *b58, size_t *b58sz, const void *data, size_t binsz);
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|