Skip to content

Instantly share code, notes, and snippets.

@toufik-airane
Last active September 12, 2015 23:24
Show Gist options
  • Save toufik-airane/f05b1ea524a091142eb6 to your computer and use it in GitHub Desktop.
Save toufik-airane/f05b1ea524a091142eb6 to your computer and use it in GitHub Desktop.
Airbus Challenges 2014
#!/usr/bin/python
a = '\x3e\x5f\x1a\x3b\x53\x52\x30\x35\x13\x09\x1e'
b = 'Good boy :)'
print ''.join(chr(ord(i)^ord(j)) for i,j in zip(a,b))
# str().join(map(lambda x,y: chr(ord(x)^ord(y)),"string1","string2"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment