To encypt the sentence You cannot see me with 3 layers
>python3 rail-fence-cipher.py
Enter the number of layers: 3
Enter the plain text: You cannot see me
Encrypted text: YCNSMOAOEEUNTE
The rail-fence cipher is a very simple, easy to crack cipher. It is a transposition cipher that follows a simple rule for mixing up the characters in the plaintext to form the cipher text. The rail-fence cipher offers essentially no communication security, and it will be shown that it can be easily broken even by hand.
More details on Wiki