Last active
July 25, 2020 10:46
-
-
Save xavierskip/dd299dae7eb8a6751c2ed450d0ef5dcf 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
s="4963654354467b66616c6c735f61706172745f736f5f656173696c795f616e645f7265617373656d626c65645f736f5f63727564656c797d" | |
step=2 | |
print("".join([chr(int("".join(s[i:i+step]),16)) for i in range(0,len(s),step)])) | |
# or | |
print(bytes.fromhex(s).decode('utf-8')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment