Skip to content

Instantly share code, notes, and snippets.

@bendem
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bendem/22f7a1562a0d3c1560b6 to your computer and use it in GitHub Desktop.
Save bendem/22f7a1562a0d3c1560b6 to your computer and use it in GitHub Desktop.
a = '0f69b410ccc810c9450186a010eff110f05510ccc910c8eb10ccd30186a010c8ea10effa10cd3710f05f10cd360186a010c94e10cd3710f3d80186a010ccd210f05510cd2d10eff010effb0186a010cd3710f05e10c94510effa0186a010f05410ccc810c9450186a010cd2c10c8e110f3e210f3d90186a010c94410cd3710c94f018af6'
def split(s, size):
return [s[i:i+size] for i in range(0, len(s), size)]
c = ''.join([chr(int(str(int(c, 16)), 2)) for c in split(a, 6)])
print(c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment