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 let’s 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 doesn’t look too promising. So let’s try N = 3. Now we have 10 characters per line: RFEHAAOAAE CERSBKINIR EYRLCPSETE Now we start unwinding it vertically: RCEFEYERR. .. Hmmm. That doesn’t look too good either. Now let’s 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
This note was uploaded on 09/15/2011 for the course LIGN 17 taught by Professor Kehler during the Winter '08 term at UCSD.
- Winter '08