Skip to content

Instantly share code, notes, and snippets.

View 1100101's full-sized avatar

Frank Aurich 1100101

  • Dresden, Germany
View GitHub Profile

Keybase proof

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:

#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];

Keybase proof

I hereby claim:

  • I am 1100101 on github.
  • I am 1100101 (https://keybase.io/1100101) on keybase.
  • I have a public key whose fingerprint is AE28 3E4C 6A1A 185E FA5D B154 1688 25BA 107A 8DEA

To claim this, I am signing this object: