Created
March 28, 2014 12:56
-
-
Save yogeesh/9832074 to your computer and use it in GitHub Desktop.
This file contains 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
#IPU9ek (^) YKo! S | |
def xor(txt, msg): | |
for i in range(0,6): | |
print chr(ord(txt[i])^ord(msg[i])) | |
msg ="YKo! S" | |
txt= "IPU9ek" | |
xor(txt, msg) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment