| 105 | } |
| 106 | |
| 107 | std::string StringUtils::ToHexString(const std::vector<uint8_t> &data) { |
| 108 | std::string hex; |
| 109 | boost::algorithm::hex(data.begin(), data.end(), std::back_inserter(hex)); |
| 110 | return hex; |
| 111 | } |
| 112 | |
| 113 | std::string StringUtils::ToBase32String(const std::string &str) { |
| 114 | const std::string BASE32_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"; |
nothing calls this directly
no outgoing calls
no test coverage detected