I hereby claim:
- I am 1100101 on github.
- I am 1100101 (https://keybase.io/1100101) on keybase.
- I have a public key ASCmzSca87aEGohTRJNSSa63K-435_7m0YJmhysZAyU1KQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#include <iostream> | |
#include <string> | |
const char hexmap[] = "0123456789abcdef"; | |
std::string hex_str(const unsigned char* data, int len) | |
{ | |
std::string s(len * 2, ' '); | |
for (int i = 0; i < len; i++) { | |
s[2 * i] = hexmap[(data[i] & 0xF0) >> 4]; | |
s[2 * i + 1] = hexmap[data[i] & 0x0F]; |
I hereby claim:
To claim this, I am signing this object: