-
-
Save bjorand/7a8978b47c1c7003ecb0304b3899b5b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import binascii | |
s = 'MDAxMDAwMDEwMTExMDEwMTAxMTAxMTExMDExMTEwMDEwMDEwMDAwMDAxMTEwMTAwMDExMDExMTAwMTEwMDAwMTAxMTEwMTExMDAxMDAwMDAwMTEwMDEwMTAxMDEwMTEx' | |
binary = int(base64.b64decode(s), 2) | |
ascii = binascii.unhexlify('%x' % binary) | |
print ascii[::-1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment