43 static const char *hex_lower =
"0123456789abcdef";
44 for (
unsigned i = 0; i < len; ++i) {
45 const unsigned offset = 2 * i;
46 to[offset] = hex_lower[
str[i] >> 4];
47 to[offset + 1] = hex_lower[
str[i] & 0x0F];
int compute_md5_hash(char *digest, const char *buf, size_t len)
Wrapper function to compute MD5 message digest.
Definition: my_md5.cc:73
static void array_to_hex(char *to, const unsigned char *str, unsigned len)
Definition: my_md5.h:41
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1078
Definition: buf0block_hint.cc:30