Skip to main content

Advanced Steganography & Encryption Toolkit - Hide secrets inside images with military-grade encryption

Project description

๐Ÿ” StegoVault

Advanced Steganography & Encryption Toolkit

Hide secrets inside images with military-grade encryption and anti-detection features.


โœจ Features

๐Ÿ”’ Military-Grade Security

  • AES-256 encryption for embedded data
  • End-to-end encrypted file transfers
  • Secure temporary file handling

๐Ÿ–ผ๏ธ Multiple Embedding Modes

  • Pixel-level LSB (Least Significant Bit) embedding
  • Frequency domain techniques
  • Adaptive capacity detection
  • Automatic format selection (PNG, BMP, TIFF)

๐Ÿ“ฆ Multi-File Support

  • Embed multiple files as compressed archives
  • Preserve directory structures
  • Intelligent file packing

๐Ÿ” Advanced Detection & Analysis

  • Steganalysis with RS analysis
  • Chi-square histogram testing
  • Risk scoring (0-100 scale)
  • Detailed statistical analysis

๐Ÿ›ก๏ธ Anti-Detection Features

  • Histogram preservation
  • Histogram matching
  • Robustness enhancement
  • Adaptive embedding patterns

๐ŸŒ Multiple Interfaces

  • CLI - Command-line interface with full feature set
  • GUI - PyQt5-based graphical interface
  • Web - Flask-powered browser interface

โšก Performance

  • Efficient data compression (zlib)
  • Progress tracking
  • Batch operations support
  • Memory-efficient processing

๐Ÿš€ Quick Start

Installation

# Clone repository
git clone https://github.com/yourusername/StegoVault.git
cd StegoVault

# Create virtual environment (recommended)
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

Basic Usage

# Embed a secret file
python3 bin/stegovault embed secret.txt carrier.png --password "strong_password" --compression

# Extract the hidden file
python3 bin/stegovault extract carrier.png --password "strong_password" --output recovered.txt

# Analyze image for steganography
python3 bin/stegovault detect carrier.png --verbose

# Get image information
python3 bin/stegovault info carrier.png

# Check embedding capacity
python3 bin/stegovault capacity carrier.png

Advanced Usage

# Archive multiple files
python3 bin/stegovault embed-archive doc1.pdf doc2.txt image.jpg archive.png \
  --password "secret" --compression

# Extract archive
python3 bin/stegovault extract-archive archive.png --output ./recovered --password "secret"

# GUI Application
python3 bin/stegovault-gui

# Web Interface (http://localhost:5000)
python3 bin/stegovault-web

๐Ÿ“š Documentation


๐Ÿ—๏ธ Project Structure

StegoVault/
โ”œโ”€โ”€ bin/                          # Executable entry points
โ”‚   โ”œโ”€โ”€ stegovault               # CLI interface
โ”‚   โ”œโ”€โ”€ stegovault-gui           # GUI launcher
โ”‚   โ””โ”€โ”€ stegovault-web           # Web server
โ”‚
โ”œโ”€โ”€ src/stegovault/              # Main package (16 modules)
โ”‚   โ”œโ”€โ”€ core.py                  # Core engine
โ”‚   โ”œโ”€โ”€ crypto.py                # AES-256 encryption
โ”‚   โ”œโ”€โ”€ steganalysis.py          # Detection algorithms
โ”‚   โ”œโ”€โ”€ archive.py               # Archive support
โ”‚   โ”œโ”€โ”€ ui/                      # User interfaces
โ”‚   โ”‚   โ”œโ”€โ”€ gui/                 # PyQt5 GUI
โ”‚   โ”‚   โ””โ”€โ”€ web/                 # Flask web app
โ”‚   โ””โ”€โ”€ ...
โ”‚
โ”œโ”€โ”€ docs/                        # Documentation (3 guides)
โ”œโ”€โ”€ examples/                    # Example scripts (3 working examples)
โ”œโ”€โ”€ tests/                       # Test suite (8 tests)
โ”œโ”€โ”€ .vscode/                     # VS Code configuration
โ”œโ”€โ”€ README.md                    # This file
โ”œโ”€โ”€ requirements.txt             # Dependencies
โ””โ”€โ”€ setup.py                     # Package configuration

๐Ÿ”ง System Requirements

  • Python: 3.7 or higher
  • OS: macOS, Linux, or Windows
  • Disk Space: 200MB (including dependencies)
  • RAM: 512MB minimum (1GB+ recommended)

๐Ÿ“ฆ Dependencies

Core dependencies (see requirements.txt for details):

  • Pillow - Image processing
  • pycryptodome - Cryptography
  • Flask - Web interface
  • PyQt5 - GUI framework (optional)
  • numpy - Numerical computations

โœ… Testing

# Run full test suite
bash run_tests.sh

# Run specific tests with pytest
pytest tests/ -v

# Generate coverage report
pytest tests/ --cov=src/stegovault

Test Coverage: 8 comprehensive tests covering:

  • File embedding and extraction
  • Archive creation and extraction
  • Image capacity calculation
  • Steganography detection
  • Metadata handling
  • Privacy protection

๐Ÿ” Security Features

Encryption

  • AES-256-CBC in authenticated mode
  • Secure key derivation (PBKDF2)
  • Per-file random initialization vectors

Data Integrity

  • SHA-256 checksums for verification
  • CRC32 for quick integrity checks
  • Metadata authentication

Robustness

  • Redundancy encoding
  • Error correction capabilities
  • Format-specific optimizations

Privacy

  • No external network calls
  • Local processing only
  • Secure temporary file handling
  • Memory cleanup after operations

๐Ÿ“– Examples

Example 1: Basic File Embedding

# Embed and extract a single file
python3 examples/example1_basic_embedding.py

Example 2: Multi-File Archives

# Create and extract file archives
python3 examples/example2_archive_embedding.py

Example 3: Detection & Analysis

# Analyze images for hidden content
python3 examples/example3_detection_analysis.py

๐Ÿค Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines on:

  • Code style and standards
  • Submitting pull requests
  • Reporting issues
  • Development workflow

๐Ÿ“„ License

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


โš ๏ธ Disclaimer

Important: This tool is for educational and legitimate purposes only. Users are responsible for complying with all applicable laws and regulations regarding data privacy, cryptography, and steganography in their jurisdiction.

Never use this tool for:

  • Illegal activities
  • Privacy violations
  • Unauthorized surveillance
  • Any unlawful purpose

๐Ÿ™‹ Support & Questions


๐ŸŽฏ Roadmap

  • GPU acceleration for analysis
  • Additional embedding modes (DCT, DWT)
  • Cloud integration
  • Mobile app support
  • Plugin system for custom algorithms
  • Batch processing GUI

๐Ÿ‘จโ€๐Ÿ’ป Author

StegoVault is maintained by the open-source community.


๐Ÿ“š References & Resources


Made with โค๏ธ for secure data hiding and privacy protection

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stegovault-2.0.0.tar.gz (66.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stegovault-2.0.0-py3-none-any.whl (58.7 kB view details)

Uploaded Python 3

File details

Details for the file stegovault-2.0.0.tar.gz.

File metadata

  • Download URL: stegovault-2.0.0.tar.gz
  • Upload date:
  • Size: 66.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for stegovault-2.0.0.tar.gz
Algorithm Hash digest
SHA256 a37ba2a54b8b2d6221b6c6f9a44001b72675b884bb7b5053decc6ce722b8de1f
MD5 08dfeda8703d5245566ebf331ac856fd
BLAKE2b-256 d707f2e5241f261d1df8f38f54dc78a9d176a6bd86a7e494dc500e90fe64835b

See more details on using hashes here.

File details

Details for the file stegovault-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: stegovault-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 58.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for stegovault-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65dc718ea246b73c27318922ce5897eed6c3843adcd80072b6bc186f45b42531
MD5 7d719305db0272a042aabdf954a41085
BLAKE2b-256 ab722d44e624a0bf64c8db09363ccf3430f72273637e484d86ab6e9c3e38af59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page