Skip to content

bryanlimy/rail-fence-cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rail Fence Cipher

A simple Rail-Fence encryption script in Python

Example to run

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

Information on Rail Fence

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

About

A simple Rail-Fence encryption script in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published