Skip to content

reold/ColumnarTranspositionCipherPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Columnar Transposition Cipher in Python πŸ‘¨β€πŸ’»

This is an example of Columnar Transposition Cipher in python. This project uses matrixes to hash a string.


Usage πŸ“œ

The project requires no dependencies. So getting started is as easy as,

  1. Clone the repository
  2. Open the main.py file
  3. Edit the variables under the comments those state which ones to change.

Columnar Transposition Cipher for beginners ✨

It's an old cipher used in the past. It's really simple.

The plain text will be referred to as "string to hash" from now on. The string to hash will be "Hello world!" for now. First, we will create a grid with a breadth of 5 characters and length N, and fill it with the characters in the string to hash.


1 2 3 4 5
H E L L O
W O R L
D !

The above table is then converted to the hash by just writing the content from bottom to top, so the result will be 'd H!we ol rl lo'.

To learn more about this type of transposition cipher go to wiki.


Contributing πŸŽ‰

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Created by Aadhi with πŸ’—

About

This is an example of Columnar Transposition Cipher created in python!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages