https://github.com/bryanlimy/rail-fence-cipher
A simple Rail-Fence encryption script in Python
https://github.com/bryanlimy/rail-fence-cipher
Last synced: about 1 year ago
JSON representation
A simple Rail-Fence encryption script in Python
- Host: GitHub
- URL: https://github.com/bryanlimy/rail-fence-cipher
- Owner: bryanlimy
- License: mit
- Created: 2016-10-13T23:16:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-19T14:08:05.000Z (over 8 years ago)
- Last Synced: 2025-02-09T23:18:36.157Z (over 1 year ago)
- Language: Matlab
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://en.wikipedia.org/wiki/Rail_fence_cipher)