Rail Fence Cipher
The Rail Fence Cipher is a transposition cipher. It rearranges the plaintext letters by drawing them in a way that forms rails of an imaginary fence. The secret key provided by the user is the number of levels in the fence.
For more detailed description of the Rail Fence Cipher, please visit Crypto-IT webpage.
Secret Key
Enter a secret key. It will be used to determine the number of levels of the imaginary fence, used for encryption and decryption.
Enter a secret key. It will be used to determine the number of levels of the imaginary fence, used for encryption and decryption.
Input Message
Enter a message you want to encrypt/decrypt. After that, click the correct button below.
Enter a message you want to encrypt/decrypt. After that, click the correct button below.
Formatted Input Message
Preview the message that actually will be processed. All non-letter characters and empty spaces will be removed from the message.
Preview the message that actually will be processed. All non-letter characters and empty spaces will be removed from the message.
The grid for an imaginary fence, where the letters will be written.
The grid for an imaginary fence, where the letters will be written.
Output Message
The result of encryption/decryption.
The result of encryption/decryption.