Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
The secret is mjqqt. The letter q appears twice, so the rule guesses that q stands for e. What does the guess give? What is the real message, and how can the program find it?
A short text can fool a rule that needs a long text.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, compare your working with the solution.
The guess. q is place , e is place , so the guessed shift is . Moving back by gives axeeh, which is not a word.
The real message. The text is too short. A pair of equal letters is the commonest by chance, and here it stands for l, not e. Try every shift: the shift of gives hello.
The program can try all shifts and keep the one that gives common English words. The lab does exactly that.
Log in to join the discussion.
Loading…