fork(1) download
  1. def strxor(a, b):
  2. return "".join([chr(x ^ y) for (x, y) in zip(a, b)])
  3.  
  4. ciphertext = '466d06ece998b7a2fb1d464fed2ced7641ddaa3cc31c9941cf110abbf409ed39598005b3399ccfafb61d0315fca0a314be138a9f32503bedac8067f03adbf3575c3b8edc9ba7f537530541ab0f9f3cd04ff50d66f1d559ba520e89a2cb2a83'
  5.  
  6. xor_with_space = strxor(bytes.fromhex(ciphertext), b' '*150)
  7. print (str.encode(xor_with_space).hex())
Success #stdin #stdout 0.02s 27704KB
stdin
Standard input is empty
stdout
664d26c38cc389c2b8c297c282c39b3d666fc38d0cc38d5661c3bdc28a1cc3a33cc2b961c3af312ac29bc39429c38d1979c2a025c29319c2bcc3afc28fc2963d2335c39cc280c28334c29e33c2aac2bf12701bc38dc28cc2a047c3901ac3bbc393777c1bc2aec3bcc2bbc287c39517732561c28b2fc2bf1cc3b06fc3952d46c391c3b579c29a722ec2a9c282c3ab0ac2a3