MCPcopy Create free account
hub / github.com/ElementsProject/elements / EncodeBase64

Function EncodeBase64

src/util/strencodings.h:71–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69std::string DecodeBase64(const std::string& str, bool* pf_invalid = nullptr);
70std::string EncodeBase64(Span<const unsigned char> input);
71inline std::string EncodeBase64(Span<const std::byte> input) { return EncodeBase64(MakeUCharSpan(input)); }
72inline std::string EncodeBase64(const std::string& str) { return EncodeBase64(MakeUCharSpan(str)); }
73std::vector<unsigned char> DecodeBase32(const char* p, bool* pf_invalid = nullptr);
74std::string DecodeBase32(const std::string& str, bool* pf_invalid = nullptr);

Callers 15

MessageSignFunction · 0.70
SignTransactionMethod · 0.50
CallRPCFunction · 0.50
CallMainChainRPCFunction · 0.50
EncodePSBTFunction · 0.50
bumpfee_helperFunction · 0.50
sendFunction · 0.50
walletprocesspsbtFunction · 0.50
walletcreatefundedpsbtFunction · 0.50
BOOST_AUTO_TEST_CASEFunction · 0.50
FUZZ_TARGET_INITFunction · 0.50

Calls 1

MakeUCharSpanFunction · 0.85

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.40
FUZZ_TARGET_INITFunction · 0.40
ConsumeScalarRPCArgumentFunction · 0.40