Bitcoin Core 28.99.0
P2P Digital Currency
Namespaces | Functions
bech32.cpp File Reference
#include <bech32.h>
#include <util/vector.h>
#include <array>
#include <assert.h>
#include <numeric>
#include <optional>
Include dependency graph for bech32.cpp:

Go to the source code of this file.

Namespaces

namespace  bech32
 

Functions

std::string bech32::Encode (Encoding encoding, const std::string &hrp, const data &values)
 Encode a Bech32 or Bech32m string. More...
 
DecodeResult bech32::Decode (const std::string &str, CharLimit limit)
 Decode a Bech32 or Bech32m string. More...
 
std::pair< std::string, std::vector< int > > bech32::LocateErrors (const std::string &str, CharLimit limit)
 Find index of an incorrect character in a Bech32 string. More...