Skip to main content

BrokenWords

Our analysts were eavesdropping a communication channel used by a dangerous hacking group. The quality of the intercepted data is quite poor, but we are fairly sure the first message contains instructions on how to decrypt the second one. We tried to use ChatGPT to clean the data and recover the conversations, but the AI is behaving weirdly, can you help us understand why and decrypt the message?

Solution

See cipher.py, solution.py