Skip to content

Instantly share code, notes, and snippets.

@megumish
Created January 23, 2021 16:31
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 megumish/cac6cc26410f0b1a99debbf23b78b5dd to your computer and use it in GitHub Desktop.
Save megumish/cac6cc26410f0b1a99debbf23b78b5dd to your computer and use it in GitHub Desktop.
bs = "0101010001010111010101010001110101010011110101010101000101010001010101000001011110101010000101101001010000101010101010101010100001111110101010100010101010100010111000011110100000101000101000100001010100001101010101011101010111110101110100100000001010101110100100100101010000101010"
cs = ''.join([chr(int(bs[i*8:(i+1)*8], 2)) for i in range(len(bs) // 8)])
print(cs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment