Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def xor(s1,s2):
- return ''.join(map(chr,map(lambda x,y: x^y,map(ord,s1),map(ord,s2*(len(s1)//len(s2))+s2[:len(s1)%len(s2)]))))
- for i in map(chr,range(0,255)):
- print i,ord(i)
- print xor('z]H@[^HP ]F aLH_LG eLM sLYYLE@G',i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement