An open API service indexing awesome lists of open source software.

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

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)