Skip to content

A Quantum Encryption (QES-512) web app with AES support for research and education. Not for production use.

Notifications You must be signed in to change notification settings

thacher/quantum-cryption

Repository files navigation

Quantum Cryption

Educational Crypto Demo - QES-512 Experimental Encryption System

Next.js TypeScript TailwindCSS License

A modern web application demonstrating experimental QES-512 (Quantum Encryption Standard, 512-bit equivalent) encryption system. Built for research, education, and understanding quantum-resistant cryptography concepts.

๐Ÿš€ Live Demo

Local Development: http://localhost:3000

โš ๏ธ Educational Use Only - This demonstrates experimental cryptography concepts. QES-512 is not a real cryptographic standard.

โœจ Features

๐Ÿ” Secure File Vault

  • Drag-and-drop file encryption/decryption (up to 100MB)
  • QES-512 only - Pure experimental encryption
  • Automatic file type detection (.encrypted extension)
  • Real-time performance metrics
  • Download encrypted files with structured JSON format

๐Ÿ”‘ Password Manager

  • Browser-based encrypted password vault
  • QES-512 encryption for password storage
  • Master password protection
  • Upload/download encrypted password files
  • Password strength analysis and entropy visualization

๐ŸŽฎ Crypto Playground

  • Interactive QES-512 learning environment
  • AES-256 vs QES-512 comparison for educational purposes
  • Step-by-step encryption visualization
  • Text entropy analysis
  • Educational resources and algorithm information

๐ŸŽฏ QES-512 Demo

  • Pure QES-512 demonstration
  • Simple encrypt/decrypt workflow
  • Technical algorithm details
  • Educational content about quantum-resistant encryption

๐Ÿ“Š Performance Analysis

  • QES-512 benchmarking only
  • Quantum threat analysis
  • Security level comparisons
  • Throughput measurements
  • Educational performance insights

๐Ÿ› ๏ธ Tech Stack

Technology Version Purpose
Next.js 15.5.3 React framework with App Router
TypeScript 5.0 Type-safe development
TailwindCSS 3.0 Utility-first CSS framework
crypto-js 4.2.0 Cryptographic functions
react-dropzone 14.2.3 File upload handling
Lucide React 0.263.1 Icon library

๐Ÿ—๏ธ Project Structure

quantum-cryption/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/                    # Next.js App Router
โ”‚   โ”‚   โ”œโ”€โ”€ page.tsx           # File Vault (QES-512 only)
โ”‚   โ”‚   โ”œโ”€โ”€ password-manager/  # Password Manager (QES-512)
โ”‚   โ”‚   โ”œโ”€โ”€ playground/        # Crypto Playground (AES-256 vs QES-512)
โ”‚   โ”‚   โ”œโ”€โ”€ demo/             # QES-512 Demo (pure demonstration)
โ”‚   โ”‚   โ””โ”€โ”€ performance/      # Performance Analysis (QES-512 only)
โ”‚   โ”œโ”€โ”€ components/            # Reusable components
โ”‚   โ”‚   โ”œโ”€โ”€ ui/               # UI components
โ”‚   โ”‚   โ””โ”€โ”€ layout.tsx        # Main layout
โ”‚   โ””โ”€โ”€ lib/                  # Core functionality
โ”‚       โ””โ”€โ”€ crypto/           # Encryption implementations
โ”‚           โ”œโ”€โ”€ aes256.ts     # AES-256 standard (Playground only)
โ”‚           โ”œโ”€โ”€ qes512.ts     # QES-512 experimental (main algorithm)
โ”‚           โ”œโ”€โ”€ hybrid.ts     # Hybrid encryption (legacy)
โ”‚           โ””โ”€โ”€ analyzer.ts   # Performance analysis
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

# Clone repository
git clone <repository-url>
cd quantum-cryption

# Install dependencies
npm install

# Start development server
npm run dev

Visit http://localhost:3000 to explore the application.

๐Ÿ”ฌ QES-512 Algorithm Details

Property Value Description
Algorithm QES-512 (Experimental) Layered AES-256 simulation
Key Size 512 bits Simulated 512-bit equivalent
Layers 2 Two-layer AES-256 approach
Quantum Resistance 256 bits Enhanced quantum resistance
Block Size 128 bits Standard AES block size
Rounds 28 14 rounds ร— 2 layers
Status โš ๏ธ Experimental Educational purposes only

๐Ÿ“ˆ Performance Metrics

QES-512 Performance (1KB data)

  • Encryption Time: ~8-15ms
  • Decryption Time: ~10-18ms
  • Throughput: ~100-200 KB/s
  • Memory Usage: ~2.5ร— ciphertext size

Educational Comparison (Playground only)

  • AES-256: ~2-5ms (fast, standard)
  • QES-512: ~8-15ms (moderate, experimental)

๐Ÿ”’ Security Analysis

QES-512 Security Features

  • Quantum Resistance: 256-bit effective security
  • Classical Security: 512-bit equivalent
  • Layered Approach: Enhanced security through multiple encryption rounds
  • Key Derivation: PBKDF2 with random salt generation
  • IV Generation: Random 16-byte initialization vectors

Brute Force Estimates

  • QES-512 Classical: ~1.34 ร— 10ยนโตโด years
  • QES-512 Quantum: ~1.16 ร— 10โทโท years (Grover's algorithm)
  • Security Margin: Significant protection against future quantum attacks

๐ŸŽ“ Educational Value

This project demonstrates:

  • QES-512 Implementation: Layered AES-256 simulation for quantum resistance
  • File Encryption: Real-world file encryption/decryption workflows
  • Password Management: Secure password storage and retrieval
  • Performance Analysis: Benchmarking and throughput measurements
  • Quantum Computing Impact: Grover's algorithm implications
  • Security Analysis: Entropy, complexity, threat modeling
  • Educational UI: Interactive learning environment

โš ๏ธ Important Disclaimers

๐Ÿšจ Educational Use Only

  • QES-512 is NOT a real cryptographic standard
  • This is a demonstration tool for learning concepts
  • DO NOT use for production or sensitive data

๐Ÿ”’ Security Warnings

  • Experimental algorithms have not been cryptographically analyzed
  • Real-world security may differ from theoretical projections
  • Always use established standards for production systems

๐Ÿ“š Learning Purpose

  • Designed for understanding encryption concepts
  • Performance metrics are browser-based approximations
  • Real implementations may vary significantly

๐Ÿงช Development

Available Scripts

npm run dev          # Start development server
npm run build        # Build for production
npm run start        # Start production server
npm run lint         # Run ESLint
npm run type-check   # Run TypeScript checks

Key Dependencies

{
  "next": "15.5.3",
  "react": "^18.2.0",
  "typescript": "^5.0.0",
  "tailwindcss": "^3.0.0",
  "crypto-js": "^4.2.0",
  "react-dropzone": "^14.2.3",
  "lucide-react": "^0.263.1"
}

๐Ÿ“Š Browser Support

  • โœ… Chrome 90+
  • โœ… Firefox 88+
  • โœ… Safari 14+
  • โœ… Edge 90+

๐Ÿ“„ License

Educational License - For learning and demonstration purposes only.

๐Ÿ”— References

โš ๏ธ Final Warning

This project demonstrates experimental cryptography concepts for educational purposes only. QES (Quantum Encryption Standard) is not a real cryptographic standard. Do not use this system for production or real-world sensitive data. Always use established cryptographic standards for actual security needs.


Built with โค๏ธ for educational purposes

About

A Quantum Encryption (QES-512) web app with AES support for research and education. Not for production use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published