Skip to content

The QDC Security Lab is designed to teach the fundamentals of modern cryptography by demonstrating how algorithms evolve to fix structural weaknesses. Users can experiment with three generations of the QDC cipher, hide data using steganography, and analyze security metrics like the Avalanche Effect and Frequency Analysis.

License

Notifications You must be signed in to change notification settings

kavicastelo/quadrant-drift-cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QDC Security Lab (v1.1)

An educational, visual, and modular encryption sandbox centered around the Quadrant Drift Cipher (QDC) family.

Warning

This project is for educational purposes only. The algorithms implemented here are NOT cryptographically secure and should never be used for protecting sensitive real-world data.

Project Vision

The QDC Security Lab is designed to teach the fundamentals of modern cryptography by demonstrating how algorithms evolve to fix structural weaknesses. Users can experiment with three generations of the QDC cipher, hide data using steganography, and analyze security metrics like the Avalanche Effect and Frequency Analysis.

High-Level Architecture

graph TD
    User([User]) --> UI[Web Interface]
    subgraph Lab
        UI --> CL[Cipher Lab]
        UI --> SL[Stego Lab]
        UI --> AL[Analysis Lab]
    end
    subgraph Core
        CL --> V1[QDC v1: Baseline]
        CL --> V11[QDC v1.1: Whitening]
        CL --> V2[QDC v2: Chained/Salted]
        V1 & V11 & V2 --> Utils[Core Utils]
    end
    subgraph Transport
        SL --> Meta[Metadata Stego]
        SL --> LSB[LSB Stego]
    end
    subgraph Analytics
        AL --> Avalanche[Avalanche Test]
        AL --> Freq[Frequency Analysis]
    end
Loading

Featured Modules

🔐 Cipher Lab

  • QDC v1: Simple text-to-path mapping. High structural leakage.
  • QDC v1.1: Adds a stream-cipher layer (whitening) to hide directional symbols.
  • QDC v2: Advanced nonlinear drift, CBC-style chaining, Salt, and IVs.

🖼️ Stego Lab

  • Metadata: Embed payloads in PNG tEXt chunks.
  • LSB: Hide data in the noise of image pixels (Least Significant Bit substitution).

📊 Analysis Lab

  • Avalanche Viewer: Measures cryptographic sensitivity to key changes.
  • Frequency Distribution: Visualizes symbol recurrence patterns.

Getting Started

  1. Clone the repository.
  2. Open index.html in any modern web browser.
  3. No build step or backend required.

Documentation

Detailed specifications and educational guides can be found in the /docs directory:

License

MIT - Educational Sandbox

About

The QDC Security Lab is designed to teach the fundamentals of modern cryptography by demonstrating how algorithms evolve to fix structural weaknesses. Users can experiment with three generations of the QDC cipher, hide data using steganography, and analyze security metrics like the Avalanche Effect and Frequency Analysis.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published