14#ifndef BITCOIN_BASE58_H
15#define BITCOIN_BASE58_H
31[[nodiscard]]
bool DecodeBase58(
const std::string& str, std::vector<unsigned char>& vchRet,
int max_ret_len);
42[[nodiscard]]
bool DecodeBase58Check(
const std::string& str, std::vector<unsigned char>& vchRet,
int max_ret_len);
std::string EncodeBase58(Span< const unsigned char > input)
Why base-58 instead of standard base-64 encoding?
std::string EncodeBase58Check(Span< const unsigned char > input)
Encode a byte span into a base58-encoded string, including checksum.
bool DecodeBase58(const std::string &str, std::vector< unsigned char > &vchRet, int max_ret_len)
Decode a base58-encoded string (str) into a byte vector (vchRet).
bool DecodeBase58Check(const std::string &str, std::vector< unsigned char > &vchRet, int max_ret_len)
Decode a base58-encoded string (str) that includes a checksum into a byte vector (vchRet),...