Cryptography is the writing and decoding of secret messages, called ciphers. Now  for governments these secret ciphers are a matter of national security. They hire special cryptanalysts who work on these ciphers using cryptanalysis. The secret is, solving substitution ciphers can be pretty entertaining! Ciphers are published daily in newspapers everywhere. If you practice encoding and decoding ciphers, you too can become a really great cryptanalyst.


In this video, I’ll show you how to use the Rail Fence Cipher. Before you start, say this three times fast: cryptanalysts use cryptanalysis to crack ciphers!


[am4show have=’p8;p9;p11;p38;p102;p154;’ guest_error=’Guest error message’ user_error=’User error message’ ]



 

Download Student Worksheet & Exercises


How did you like the Rail Fence Cipher? Pretty neat, right? Would you rather encode or decode a cipher? I think both parts are fun. But if you’re encoding, just make sure the decoder knows the correct formula to use!


Exercises


Write the cipher of the following message:


  1. COME TOMORROW AT 2PM
  2. HE HAS ARRIVED AT THE AIRPORT
  3. HE IS CARRYING A BAG
  4. THEY ARE HERE NOW
  5. COME AT MY PLACE

Write the cipher of the following message (use a three row zigzag)


  1. COME TOMORROW IN MY OFFICE
  2. LEAVE THEM BEHIND
  3. WE WILL BE THERE SOON
  4. The cipher below was encoded using a two rows zigzag method with six letters in every row. Decode it.
    IMOIG OACMN NW
  5. The cipher below was encoded using a three rows zigzag method with four letters in every row. Decode it.
    ICINA ONOMM GW

[/am4show]


Have a question ?

Tell us what you're thinking...

Comments

3 Responses to “Rail Fence Cipher”

  1. Yvonne Myers says:

    In your Forensics program, you have Cryptograpgy listed twice in the right side tool bar. They are exactly the same thing. Just thought you might want to know.

  2. Hi ,

    My name is Adam Nosterud. I am 12 years old. I made this code and I wondering if you are interested in it.

  3. Taben Taben says:

    I liked it