Last active
May 4, 2024 18:31
-
-
Save kolayne/e928d3a4ad08f2656017def378810b7c to your computer and use it in GitHub Desktop.
Hackerize XS decoder
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
#!/usr/bin/python3 | |
def decode(s): | |
alphabet = 'abcdefghijklmnopqrstuvwxyz' | |
hackerized = 'Λß↻Ð☰∲ç╫¡¿├↑ღ∏☐þ¶┏§⊥üƴ₪✕¥ᶾ' | |
ans = '' | |
for c in s: | |
try: | |
ans += alphabet[hackerized.index(c)] | |
except ValueError: | |
ans += c | |
return ans | |
if __name__ == "__main__": | |
print("Decoded string:", decode(input("Encoded string: "))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
¥☐ü_Λ┏☰_ƴ☰┏¥_ç☐☐Ð_Λ⊥_↻┏¥þ⊥☐