๐ QryptChat
Quantum-Resistant End-to-End Encrypted Messaging
A secure, privacy-focused chat application built with post-quantum cryptography to protect against both classical and quantum computer attacks.
โจ Features
๐ก๏ธ Quantum-Resistant Security
ML-KEM-1024 Post-Quantum Cryptography - FIPS 203 compliant quantum-safe encryption
ChaCha20-Poly1305 Symmetric Encryption - Fast, secure message encryption
End-to-End Encryption with client-side key management and zero server access
Perfect Forward Secrecy with automatic key rotation and secure key derivation
Zero-Knowledge Architecture - your private keys never leave your device
Private Key Import/Export - Secure backup with password and GPG protection
๐ฑ Progressive Web App
Cross-Platform: Works on iOS, Android, Desktop, and Web browsers
Offline Support: Queue messages when offline, sync when reconnected
Desktop Integration: Install as native app with system shortcuts
Mobile Optimized: Touch-friendly interface with gesture support
Service Worker: Background sync and caching for optimal performance
๐ Real-Time Communication & Sync
WebSocket Real-Time - Instant message delivery and status updates
Cross-Device Sync - Seamless experience across all logged-in devices
Multi-Session Support - Stay connected on multiple devices simultaneously
Live Typing Indicators - See when others are composing messages
Online Presence System - Real-time availability status
Message Delivery Status - Sent, delivered, and read receipts
Auto-Reconnection - Robust connection handling with automatic retry
๐ฅ Social & Communication Features
SMS Phone Verification - Secure onboarding via Twilio integration
Contact Discovery - Find friends using verified phone numbers
Encrypted File Sharing - Share photos, videos, and documents securely
Enhanced Video Player - In-app video playback with diagnostic tools
Message Archiving - Archive and restore conversation history
Disappearing Messages - Auto-delete messages after specified time periods
Voice & Video Calls - End-to-end encrypted calls with ML-KEM key exchange
๐ Accessibility & Internationalization
Multi-Language Support - 6 languages (EN, ES, FR, DE, AR, ZH) with easy switching
RTL Support - Full right-to-left language support for Arabic and Hebrew
Dark/Light Themes - System preference detection with manual override
Responsive Design - Optimized for all screen sizes from mobile to desktop
Keyboard Navigation - Full accessibility support for screen readers
๐๏ธ Tech Stack
Layer Technology Purpose Frontend SvelteKit 5 + Svelte 5 Reactive UI framework with runes Styling Vanilla CSS + Custom Properties Modern design system with themes Database Supabase PostgreSQL User data, messages, and file storage Real-time Custom WebSocket + Supabase Realtime Live message delivery & presence Auth Custom SMS + Supabase Auth Phone-based verification system SMS Twilio SMS verification and notifications Crypto ML-KEM-1024 + ChaCha20-Poly1305 Post-quantum encryption (FIPS 203) Key Exchange ML-KEM (Kyber) + Dilithium Quantum-resistant key management File Encryption Multi-recipient PQ encryption Secure file sharing with metadata PWA Vite PWA Plugin + Service Worker Offline-first with background sync I18n Custom Svelte Store Multi-language with RTL support WebRTC Native WebRTC + ML-KEM Encrypted voice/video calls Testing Vitest + Custom Test Suite Comprehensive crypto and integration tests
๐ Quick Start
Prerequisites
Node.js 20+ (recommended)
pnpm (recommended) or npm
Supabase account
Twilio account (for SMS verification)
Installation
The app will be available at
http://localhost:8080 (or the PORT specified in your .env file).Environment Variables
๐ Security Model
QryptChat implements a zero-knowledge post-quantum architecture where:
๐ ML-KEM-1024 + ChaCha20-Poly1305 - FIPS 203 compliant post-quantum encryption
๐๏ธ Private keys never leave your device - Stored encrypted in IndexedDB
๐ Perfect forward secrecy - Automatic key rotation with secure derivation
๐ก๏ธ Quantum-resistant algorithms - Protection against both classical and quantum attacks
๐ต๏ธ Metadata protection - Minimal server-side data with encrypted message content
๐ Multi-recipient encryption - Each participant gets individually encrypted messages
๐พ Secure key backup - Password-protected export with optional GPG encryption
๐ Key verification - Cryptographic signatures ensure key authenticity
๐ Documentation
๐งช Development
๐ฃ๏ธ Roadmap
โ
Completed (v1.0.0)
๐๏ธ Core Infrastructure - SvelteKit + Vite + PWA setup
๐จ Modern UI/UX - Responsive design with dark/light themes
๐ Internationalization - 6 languages with RTL support
๐ฑ Progressive Web App - Offline-first with service worker
๐ Authentication System - Phone-based SMS verification
๐๏ธ Database Schema - Complete Supabase setup with RLS
๐ Real-time Foundation - WebSocket infrastructure ready
๐ฌ Core Messaging - Send/receive messages with post-quantum encryption
๐ Cross-Device Sync - Real-time synchronization across devices
๐ฅ Contact System - Add and manage contacts via phone numbers
๐ Presence System - Online/offline status indicators
๐ Post-Quantum Encryption - ML-KEM-1024 + ChaCha20-Poly1305 implementation
๐ File Sharing - Encrypted media and document sharing with video playback
๐ฅ Voice & Video - End-to-end encrypted calls with ML-KEM key exchange
๐ Key Management - Private key import/export with password protection
๐๏ธ Message Archiving - Archive and restore conversations
โฐ Disappearing Messages - Auto-delete messages after specified time
๐ Real-time Notifications - Live message delivery and status updates
๐ง In Progress (v1.1.0)
๐ฅ Group Chats - Multi-user conversations (basic implementation exists)
๐ Message Search - Full-text search across conversations
๐ Push Notifications - Cross-platform notification system
๐ฑ Mobile App Optimization - Enhanced PWA features for mobile
๐ฏ Upcoming (v1.2.0+)
๐ค AI Integration - Smart message suggestions and translation
๐ Federation - Connect with other secure messaging platforms
๐ Analytics - Privacy-preserving usage insights
๐จ Customization - Custom themes and chat backgrounds
๐ Hardware Security - WebAuthn integration for key storage
๐ Advanced Analytics - Message delivery metrics and insights
๐ฎ Future Vision
๐ Decentralized Network - P2P messaging without central servers
๐ก๏ธ Zero-Knowledge Proofs - Enhanced privacy verification
๐ฌ Quantum Key Distribution - Hardware-based quantum security
๐ค Cross-Platform Protocol - Universal secure messaging standard
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
Built with โค๏ธ for a quantum-safe future
0 likes ยท 20 views ยท Sep 26, 2025
Developed a quantum-resistant encrypted messaging app.
Timeline
Sep 1, 2025 - Ongoing