The Rail Fence Cipher is a transposition cipher that rearranges the letters of a message to create a new encrypted message. It gets its name from the way the letters are written in a zigzag pattern that resembles a fence made of rails.
Here's how the Rail Fence Cipher works: