Rail Fence Cipher

248 18 1
                                        

In this cipher , the plaintext is written downwards and diagonally on successive rails of an imaginary fence , then moving up when we reach the bottom rail . When we reached the top rail , the message is written downwards again until the whole plaintext is written out . The message is then read in rows .

The Process

Plaintext
We are incredible

W . . . E . . . R . . . B
. E . R . I . C . E . I . L
. . . A . . . N  .  . D . . . E

You can read "we are incredible" diagonally . But we have to write it horizontally . So that becomes

Ciphered text
Werbericeilande

Note : The number of rows could be varied from 2 to infinity . But the more the rows will be , the more tricky it is to generate a code .

Another one

Ciphered text
Smtigsuoehniot

S . . M . . T . . I . . G . . S . . U
. . O . . E . . H . . N . . I . . O . .T

Plaintext
Something is out

There you have it !
Nicely done codebreaker ^_^

Your Guide To CryptographyWhere stories live. Discover now