Rail Fence Cipher client-side ?
How to use Rail Fence CipherThe Rail Fence cipher is a zigzag transposition cipher: the letters of the message are written diagonally down then up over a fixed number of lines (the “rails”), then read off line by line to form the ciphertext. Decryption rebuilds the zigzag from the number of rails. Set the number of rails and an optional starting offset. Unlike a substitution, letters are not replaced but reordered. Everything is computed in your browser.
?
The Rail Fence cipher is a zigzag transposition cipher: the letters of the message are written diagonally down then up over a fixed number of lines (the “rails”), then read off line by line to form the ciphertext. Decryption rebuilds the zigzag from the number of rails. Set the number of rails and an optional starting offset. Unlike a substitution, letters are not replaced but reordered. Everything is computed in your browser.
Zigzag transposition cipher.
How to use Rail Fence Cipher
The Rail Fence cipher is a zigzag transposition cipher: the letters of the message are written diagonally down then up over a fixed number of lines (the “rails”), then read off line by line to form the ciphertext. Decryption rebuilds the zigzag from the number of rails. Set the number of rails and an optional starting offset. Unlike a substitution, letters are not replaced but reordered. Everything is computed in your browser.
Frequently asked questions
What does the number of rails change?
The more rails, the wider the zigzag and the more the letters are scrambled. With 1 rail the text is unchanged; 2 or 3 rails are the most common.
What is the offset for?
It starts the zigzag lower in the grid, changing the reading order — a variant to slightly complicate decryption.