https://github.com/techtalkdev/python_encryption_program
Simple character-substitution encryption program in Python. Encrypt and decrypt text using a randomly shuffled key. Great for learning basic cryptography and Python input/output.
https://github.com/techtalkdev/python_encryption_program
Last synced: 11 months ago
JSON representation
Simple character-substitution encryption program in Python. Encrypt and decrypt text using a randomly shuffled key. Great for learning basic cryptography and Python input/output.
- Host: GitHub
- URL: https://github.com/techtalkdev/python_encryption_program
- Owner: techtalkdev
- Created: 2025-07-04T20:01:26.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-04T20:06:07.000Z (11 months ago)
- Last Synced: 2025-07-04T21:21:12.783Z (11 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔐 Python Encryption Program
A simple terminal-based encryption and decryption tool using basic character substitution. This project demonstrates how to scramble messages using a shuffled key made from letters, digits, punctuation, and spaces.
---
## 💡 Features
- Encrypt any text using a randomized substitution cipher
- Decrypt messages using the generated key
- Uses printable characters including spaces, punctuation, digits, and letters
- Beginner-friendly Python script
---
## 🚀 How It Works
1. Generates a randomized key from all printable characters.
2. Replaces each character in your message with its mapped counterpart from the shuffled key.
3. Reverses the process to decrypt a message.
---
## ▶️ Run the Program
### Prerequisites
- Python 3.x installed
### Usage
```bash
python encrypt.py