This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: N , which you can do by brute force. Consider this message: RFEHAAOAAECERSBKINIREYRLCPSETE First lets try N = 2. There are 30 characters in the message, so we write the rst 15 letters on the top row, and the last 15 on the second: 1 RFEHAAOAAECERSB KINIREYRLCPSETE Now we start unwinding it vertically: RKFIENHI. .. That doesnt look too promising. So lets try N = 3. Now we have 10 characters per line: RFEHAAOAAE CERSBKINIR EYRLCPSETE Now we start unwinding it vertically: RCEFEYERR. .. Hmmm. That doesnt look too good either. Now lets try N = 4. So the rst two lines will have 8 characters, and the last two will have 7: RFEHAAOA AECERSBK INIREYR LCPSETE And again we start unwinding it vertically: RAILFENCECIPHERSAREEASYTOBREAK That is to say: Rail fence ciphers are easy to break Success! 2...
View Full
Document
 Winter '08
 Kehler

Click to edit the document details