Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T19:13:03.000Z (11 months ago)
- Last Synced: 2024-04-16T04:59:41.357Z (8 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
![Display old version](/assets/display%20cesar%20cipher.png)
### New Version
![Display new version](/assets/display%20new%20version.png)
## 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)