Skip to content

dynamo-pentester/SecureSplit

Repository files navigation

🔐 SecureSplit — Distributed Secure Media Storage

SecureSplit is a security-focused system that ensures data confidentiality through cryptographic separation, rather than relying solely on access control.

It uses visual cryptography (XOR-based splitting) to divide sensitive media into two independent shares:

  • One stored locally (encrypted noise share)
  • One stored remotely on IPFS

👉 Neither share alone reveals any information about the original data.


🚀 Key Idea

Instead of protecting data with permissions alone, SecureSplit ensures:

Even if one storage layer is compromised, the original data remains unrecoverable.

This follows a zero-trust storage model.


🧠 How It Works

  1. Input image is taken
  2. Image is split into two shares using XOR-based visual cryptography:
    • Share A → Stored locally (encrypted)
    • Share B → Uploaded to IPFS (via Pinata)
  3. Individually:
    • Each share appears as random noise
    • No meaningful information can be extracted
  4. Reconstruction:
    • Both shares are required
    • XOR operation restores the original image

🔐 Security Properties

  • Confidentiality by Design
    No single storage location holds usable data

  • Distributed Trust Model
    Compromise of IPFS or local system alone is insufficient

  • No Key-Based Decryption Required
    Reconstruction depends on both shares, not a single key

  • Resistant to Partial Data Exposure


🛠️ Tech Stack

  • Backend: FastAPI (Python)
  • Storage: IPFS (Pinata)
  • Processing: NumPy
  • Cryptography: XOR-based visual cryptography

📂 Features

  • Upload and split media securely
  • Store shares across independent storage layers
  • Reconstruct original media only when both shares are present
  • Lightweight and efficient processing

⚙️ Setup

git clone https://github.com/your-username/securesplit.git
cd securesplit
pip install -r requirements.txt
uvicorn main:app --reload

About

Hardened zero-trust media storage using XOR-based visual cryptography and IPFS, ensuring data confidentiality against partial breaches.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors