fork download
  1. # your code goes here
  2. # your code goes here
  3. ciphertext = '466d06ece998b7a2fb1d464fed2ced7641ddaa3cc31c9941cf110abbf409ed39598005b3399ccfafb61d0315fca0a314be138a9f32503bedac8067f03adbf3575c3b8edc9ba7f537530541ab0f9f3cd04ff50d66f1d559ba520e89a2cb2a83'
  4. out1 = []
  5. out2 = []
  6. out3 = []
  7. for x, y in zip(bytes.fromhex(ciphertext), ' '*10):
  8. out1.append(hex(x))
  9. out2.append(hex(ord(y)))
  10. out3.append(hex(x ^ ord(y)))
  11. print(out1)
  12. print(out2)
  13. print(out3)
Success #stdin #stdout 0.01s 27712KB
stdin
Standard input is empty
stdout
['0x46', '0x6d', '0x6', '0xec', '0xe9', '0x98', '0xb7', '0xa2', '0xfb', '0x1d']
['0x20', '0x20', '0x20', '0x20', '0x20', '0x20', '0x20', '0x20', '0x20', '0x20']
['0x66', '0x4d', '0x26', '0xcc', '0xc9', '0xb8', '0x97', '0x82', '0xdb', '0x3d']