Skip to content

AI-powered image encryption tool built for privacy-conscious developers and security enthusiasts. It combines elegant UI design with sophisticated encryption algorithms to deliver

License

Notifications You must be signed in to change notification settings

Pinank23/CODECRAFT_CS_02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” CryptaPixelon – Advanced AI-Powered Image Encryption Suite 🎨✨

CryptaPixelon Banner

Secure Your Visual Secrets with AI-Optimized Pixel Manipulation

Python 3.8+ PyQt5 AI Powered License MIT

🎯 Multi-Method Image Encryption | πŸ€– AI Analysis & Recommendations | ⚑ Batch Processing | 🎨 Dual Theme Support


πŸ“Έ Screenshot Preview

Dark Mode Interface

Dark Mode - Main View

Encryption Settings

Encryption Methods

Light Mode Interface

Light Mode - Processing

Batch Processing

Batch Operations


πŸš€ Project Description

CryptaPixelon is a cutting-edge, AI-powered image encryption tool built for privacy-conscious developers and security enthusiasts. It combines elegant UI design with sophisticated encryption algorithms to deliver:

✨ Key Highlights:

  • πŸ” 5+ Encryption Methods (Swap, XOR, Shift, AES-inspired, Steganography)
  • πŸ€– AI Image Analysis Engine – Automatically analyzes image complexity and recommends optimal encryption method
  • πŸ“Š Real-time Metrics & Analytics – Processing time, entropy changes, MSE calculations
  • ⚑ Batch Processing – Encrypt multiple images simultaneously with consistent settings
  • 🎨 Dual Theme UI – Sleek dark mode (default) and clean light mode
  • 🎯 Smart Key Generation – AI-optimized encryption keys based on image properties
  • πŸ“œ Operation History – Full undo/redo with detailed logging
  • πŸ’Ύ Multiple Export Options – Save encrypted images, detailed reports, operation logs
  • πŸ”§ Advanced Settings – Encryption strength, quality preservation, noise protection, compression
  • πŸ›‘οΈ Zero Data Leakage – 100% local processing, no cloud upload, complete privacy

Perfect for:

  • πŸ”’ Personal data protection
  • πŸŽ“ Educational projects & cryptography learning
  • πŸ–ΌοΈ Secure image storage
  • πŸ” Image forensics & analysis
  • πŸ›‘οΈ Privacy-first applications

πŸ“¦ Installation & Setup

Step 1️⃣ – Clone the Repository

git clone https://github.com/Pinank23/CODECRAFT_CS_02.git
cd CODECRAFT_CS_02

Step 2️⃣ – Update System Packages

sudo apt update
sudo apt install -y python3 python3-venv python3-dev build-essential \
                     libgl1 libglib2.0-0 libxcb-xinerama0

Step 3️⃣ – Create Virtual Environment

python3 -m venv venv
source venv/bin/activate

Step 4️⃣ – Install Dependencies

pip install --upgrade pip
pip install PyQt5 Pillow numpy opencv-python

Step 5️⃣ – Run the Application

python3 CryptaPixelon.py

βœ… Done! The CryptaPixelon GUI will launch automatically.


πŸ’‘ Features

πŸ” Multi-Method Encryption

CryptaPixelon offers 5 powerful encryption techniques, each optimized for different use cases:

Method Speed Security Use Case
πŸ”„ Swap ⚑⚑⚑ Fast ⭐⭐ Basic Quick obfuscation
πŸ” XOR ⚑⚑⚑ Fast ⭐⭐⭐ Medium Mathematical security
➑️ Shift ⚑⚑ Moderate ⭐⭐⭐ Medium Bit-level manipulation
πŸ” AES ⚑ Slower ⭐⭐⭐⭐⭐ Strong Enterprise-grade encryption
πŸ™ˆ Steganography ⚑⚑ Moderate ⭐⭐⭐⭐ Strong Hide data in LSBs

πŸ€– AI-Powered Analysis Engine

The built-in ImageAnalyzer examines your image and provides:

  • πŸ“Š Entropy Calculation – Measures image randomness
  • 🎨 Contrast Analysis – Detects high-frequency details
  • πŸ” Edge Detection – Analyzes structural complexity
  • πŸ’‘ Brightness Metrics – Evaluates luminance distribution
  • 🎯 Smart Recommendations – Suggests the best encryption method for your image

Example Output:

Entropy: 6.45 (High)
Contrast: 87.2 (High)
Complexity: High
πŸ€– Recommended: AES

⚑ Batch Processing

Process multiple images at once with:

  • πŸ“ Multi-file selection
  • πŸ“Š Real-time progress tracking
  • 🎯 Consistent encryption settings
  • πŸ’Ύ Auto-organized output directory (encrypted_images/)

πŸ“Š Real-Time Metrics & Analytics

After encryption, view detailed metrics:

  • ⏱️ Processing Time – Exact duration in seconds
  • πŸ“ˆ Mean Squared Error (MSE) – Pixel-level differences
  • πŸ”’ Entropy Increase – Security strength indicator
  • πŸ“ Image Dimensions – Original vs encrypted

🎨 Dual Theme Interface

  • πŸŒ™ Dark Mode (Default) – Cyberpunk aesthetic with neon cyan accents
  • β˜€οΈ Light Mode – Clean, professional blue theme

Toggle anytime with a single click!

πŸ“œ Operation History

  • βœ… Undo/Redo – Revert or restore operations
  • πŸ“‹ Complete Logging – Timestamp-based history tracking
  • πŸ”„ History Restoration – Click any operation to restore that state

πŸ’Ύ Multiple Export Options

  1. πŸ’Ύ Save Image – Export encrypted image as PNG/JPG
  2. πŸ“„ Save Report – Detailed encryption report with settings & metrics
  3. πŸ“‹ Export Log – Complete operation history log

πŸ”§ Advanced Settings

Setting Range Impact
Encryption Strength 1-10 Key generation complexity
Output Quality 50-100% Image compression level
Protective Noise Toggle Add noise for extra obfuscation
Output Compression Toggle Reduce file size

πŸ› οΈ Requirements

Component Version Purpose
Python 3.8+ Core language
PyQt5 Latest GUI framework
Pillow Latest Image processing
NumPy Latest Array operations
OpenCV Latest Image analysis

Quick Install Command:

pip install PyQt5 Pillow numpy opencv-python

πŸ“– How to Use

Basic Encryption Workflow:

1. πŸ“ Upload Image
   └─ Click "πŸ“ Upload Image" or drag-drop your image
   
2. πŸ€– AI Analysis (Auto)
   └─ System analyzes image and recommends encryption method
   
3. πŸ”‘ Set Encryption Key
   └─ Enter key (1-255) or use 🎲 to generate AI-optimized key
   
4. πŸ” Choose Encryption Method
   └─ Select from: Swap, XOR, Shift, AES, Steganography
   
5. βš™οΈ Configure Advanced Settings (Optional)
   └─ Set strength, quality, noise, compression preferences
   
6. πŸ”’ Click "πŸ”’ Encrypt Image"
   └─ Watch real-time metrics and operation history
   
7. πŸ’Ύ Save Results
   └─ Save image, report, or operation log

Batch Processing:

1. Go to "⚑ Batch" tab
2. Click "πŸ“‚ Select Multiple Images"
3. Choose 2+ images
4. Click "Select Multiple Images" to start
5. Monitor progress bar
6. Encrypted images saved to: encrypted_images/

🎯 Contributing

We ❀️ contributions! To contribute:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Areas for Contribution:

  • πŸ†• New encryption algorithms
  • 🎨 UI/UX improvements
  • πŸ“Š Performance optimizations
  • πŸ› Bug fixes
  • πŸ“š Documentation enhancements
  • πŸ§ͺ Test coverage expansion

🌌 Future Improvements

  • βœ… GPU Acceleration – CUDA/OpenCL support for batch processing
  • βœ… Advanced Cryptography – RSA, ECC integration
  • βœ… Cloud Sync – Optional encrypted cloud backup
  • βœ… Mobile App – Android/iOS companion app
  • βœ… Web Version – Browser-based interface
  • βœ… Theme Customization – Custom color schemes & plugins
  • βœ… Password Protection – Encrypt with passphrases
  • βœ… Image Watermarking – Invisible metadata embedding
  • βœ… Video Support – Frame-by-frame video encryption
  • βœ… Breach Detection – Integration with haveibeenpwned API
  • βœ… Performance Benchmarking – Speed comparison tool
  • βœ… Accessibility Features – Screen reader support, keyboard navigation

πŸ“Š Performance Metrics

Operation Time (1366Γ—768px) Memory Usage
Image Upload & Analysis ~50ms 5MB
Swap Encryption ~20ms 8MB
XOR Encryption ~25ms 8MB
AES Encryption ~150ms 15MB
Steganography ~100ms 12MB
Batch (10 images) ~2s 20MB

Performance may vary based on system specs and image complexity.


πŸ”’ Security Notice

⚠️ Important: CryptaPixelon is designed for:

  • General image obfuscation
  • Privacy-focused personal use
  • Educational cryptography exploration
  • Basic data protection

⚠️ NOT recommended for:

  • Military/government classified data
  • Financial/banking security (use industry standards)
  • Medical/healthcare records (use HIPAA-compliant tools)

For enterprise encryption, use industry-standard algorithms like AES-256 with certified implementations.


πŸ“ License

This project is licensed under the MIT License – see the LICENSE file for details.

You are free to:

  • βœ… Use commercially
  • βœ… Modify & distribute
  • βœ… Use privately
  • βœ… Use in patents

You must:

  • βœ… Include license & copyright notice
  • βœ… Provide source code modifications

🀝 Credits & Acknowledgments

  • Built with: PyQt5, Python, OpenCV, NumPy
  • Inspired by: Modern cryptography research
  • Design Philosophy: Privacy-first, user-centric, accessible
  • Special Thanks: Open-source community contributors

🎯 Final Note

CryptaPixelon represents the intersection of security and simplicity. In an era of digital surveillance, protecting your visual data shouldn't require a computer science degree.

Whether you're:

  • πŸ”’ A privacy advocate
  • πŸŽ“ A student learning cryptography
  • πŸ–ΌοΈ Someone securing personal photos
  • πŸ” A researcher exploring image analysis

...CryptaPixelon empowers you to take control of your visual privacy πŸŽ¨πŸ”


🌟 Found this useful? Star the repo! ⭐

Made with ❀️ for the open-source community

Report Bug β€’ Request Feature β€’ Documentation

Follow for more projects: @Pinank23 πŸš€


Last Updated: December 2025

About

AI-powered image encryption tool built for privacy-conscious developers and security enthusiasts. It combines elegant UI design with sophisticated encryption algorithms to deliver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages