https://github.com/dpbm/cesar
A refactor of my old project that I've made to implement CESAR's Cipher with some improvements
https://github.com/dpbm/cesar
cesar-cypher pycesar python python3 refactor script test
Last synced: 7 months ago
JSON representation
A refactor of my old project that I've made to implement CESAR's Cipher with some improvements
- Host: GitHub
- URL: https://github.com/dpbm/cesar
- Owner: Dpbm
- Created: 2022-05-07T16:31:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T19:13:03.000Z (over 1 year ago)
- Last Synced: 2025-01-19T18:51:55.511Z (9 months ago)
- Topics: cesar-cypher, pycesar, python, python3, refactor, script, test
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Cesar Cipher
## this is an old project that I've made using python, and recently I remembered and decided to see and refactor all the project
## 📁Folders
Into the [oldVersion](/oldVersion/) folder you can see how the project were when I started to program
And in the [newVersion](/newVersion/) folder you will see the project now that I have more experience and knowledge
## 📷 How it looks
### Old Version

### New Version

## Dependencies
- tk (see how to install [windows](https://www.geeksforgeeks.org/how-to-install-tkinter-in-windows/), [linux](https://www.geeksforgeeks.org/how-to-install-tkinter-on-linux/) & [mac](https://www.geeksforgeeks.org/how-to-install-tkinter-on-macos/))
- python3
## How it works?
When I've made this project, my idea was create a different version of Cesar's Cipher, so I've implemented a random dislocation for the characters and added a repetition. So when you enter with the repetitions and the text, the script will repeat `N times` the process of generate a random dislocation and get the corresponding character. At the end of execution, the script will generate an `encrypted.txt` file, that contains the key to decrypt the text and the encrypted text.
## 🏃How to run
Old Version
```bash
python3 /oldVersion/mainRefactor.py
```New Version
```bash
python3 /newVersion/CESAR.py
````note: the file /oldVersion/CESAR.py doesn't work as expected, it's only for test`
### Made with 🥰 by [Dpbm](https://github.com/Dpbm)