Advertisement
evandrix

Zone-4-URL

Dec 29th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.60 KB | None | 0 0
  1. import binascii
  2. plaintext1 = map(ord, "zone-4-F7677DA8-3D77-11E2-BB65-E4BF6188709B")
  3. ciphertext1 = "20d916c6c29ee53c30ea1effc63b1c72147eb86b998a25c0cf1bf66939e8621b3132d83abb1683df619238"
  4. ciphertext1 = [int(''.join(c), 16) for c in zip(ciphertext1[0::2],ciphertext1[1::2])]
  5. key = [c[0]^c[1] for c in zip(plaintext1,ciphertext1)]
  6. ciphertext2 = "20d916c6c29ee54343e81ff1b14c1372650cbf19998f51b5c51bf66f49ec62184034a94fc9198fa9179849"
  7. ciphertext2 = [int(''.join(c), 16) for c in zip(ciphertext2[0::2],ciphertext2[1::2])]
  8. plaintext2 = ''.join(map(chr, [c[0]^c[1] for c in zip(ciphertext2,key)]))
  9. print plaintext2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement