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