Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpetrosy/encryptor-decryptor
My small project encryptor / decryptor written in Python.
https://github.com/dpetrosy/encryptor-decryptor
algorithm console-application cryptography decoder encoder encoder-decoder encryption-decryption python python3
Last synced: 16 days ago
JSON representation
My small project encryptor / decryptor written in Python.
- Host: GitHub
- URL: https://github.com/dpetrosy/encryptor-decryptor
- Owner: dpetrosy
- License: mit
- Created: 2022-05-10T21:07:02.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T16:36:02.000Z (about 1 year ago)
- Last Synced: 2024-12-02T01:17:11.825Z (2 months ago)
- Topics: algorithm, console-application, cryptography, decoder, encoder, encoder-decoder, encryption-decryption, python, python3
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 📜 About Project
This is my small project in Python. The user selects mode **`encrypt`** or **`decrypt`** and input keys. The program gets input from the console or the user file depending on the user's chosen mode and encrypts user text using a **`four-square`** cipher, which works with two keys, output text in the console, or file **`output.txt`**. The same thing happens during decryption, and the program decrypts user text instead of encryption. The key may be any text; the program filters it and gets the desired characters.## 👨🏻💻 Getting Started
1. Install a Python interpreter if you don't have one (or use online interpreters).
2. Clone this repo or copy code from file **`encryptor.py`**
3. Put it in the Python interpreter.
4. If you want to input your text from a file, create your own input.txt file and write your text there.
5. Run code.
6. Congrats! Now you can encrypt your secret text and send it to your friends without worrying about its safety because, without a decryptor it's just a bunch of incomprehensible characters :)**References:**
* https://en.wikipedia.org/wiki/Four-square_cipher
* http://www.crypto-it.net/eng/simple/four-square.html