Skip to content

Instantly share code, notes, and snippets.

@harshitm98
Created December 2, 2019 11:15
Show Gist options
  • Save harshitm98/5f2aa32e4b4cdf7a38a3d008283f7fb5 to your computer and use it in GitHub Desktop.
Save harshitm98/5f2aa32e4b4cdf7a38a3d008283f7fb5 to your computer and use it in GitHub Desktop.
p = "V@]EAASB\022WZF\022e,a$7(&am2(3.\003"
p = list(str(p))
for i in range(len(p) // 2):
p[i] = chr(ord(p[i]) ^ 0x32)
p[len(p) // 2 + 1 + i] = chr(ord(p[len(p) // 2 + 1 + i]) ^ 0x41)
p.reverse()
print("".join(p))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment