Computer scienceAlgorithms and data structuresAlgorithmsString coding algorithmsCryptographic coding

XOR cipher

Passing the exam

Report a typo

Peter has an important test. Unfortunately, he didn't get ready for it properly but somehow was able to get the sheet with the answers from the teacher's table. It turned out, that the answers were encrypted with the XOR cipher so that the students don't just copy the answers. Peter knows for sure, that the correct option for one of the questions is bananabanana. In the sheet with the answers, the corresponding text is "2$:$<12\$:\$<1". Help Peter to find the key, so that he can decrypt the rest of the answers and successfully pass the test.

Enter a short text

Create a free account to access the full topic