Cryptopals: Detect single-character XOR
One of the 60-character strings in this file has been encrypted by single-character XOR.
(Your code from #3 should help.)
So basically, we'll have to run each line from the file through the cracker function we created in the last challenge, and the line with the highest score is the answer.
- I was lucky in the last challenge that the key was found within the a-zA-Z range. When I ran the same cracker on the strings in this exercise, I could not get the result. So, I assumed the key could be any character from the whole ASCII range.