![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
Functions | |
std::string | Encode (const std::string &hrp, const data &values) |
Encode a Bech32 string. More... | |
std::pair< std::string, data > | Decode (const std::string &str) |
Decode a Bech32 string. More... | |
std::string | Encode (const std::string &hrp, const std::vector< uint8_t > &values) |
Encode a Bech32 string. More... | |
std::pair< std::string, std::vector< uint8_t > > bech32::Decode | ( | const std::string & | str | ) |
Decode a Bech32 string.
Returns (hrp, data). Empty hrp means failure.
Definition at line 159 of file bech32.cpp.
std::string bech32::Encode | ( | const std::string & | hrp, |
const std::vector< uint8_t > & | values | ||
) |
Encode a Bech32 string.
Returns the empty string in case of failure.
std::string bech32::Encode | ( | const std::string & | hrp, |
const data & | values | ||
) |
Encode a Bech32 string.
Definition at line 147 of file bech32.cpp.