E2EE Chat — End-to-End Encrypted Chat App
A secure real-time MERN chat app with true end-to-end encryption using client-side RSA-OAEP, built as a personal project.
Technologies Used

E2EE Chat — End-to-End Encrypted Chat App
E2EE Chat is a secure, real-time messaging application built on the MERN stack with true end-to-end encryption.
Messages and media are encrypted in the client browser using RSA-OAEP keys, ensuring private keys never leave the device.
This was built as a personal project to explore secure communication systems.
Key Features
- 🔒 End-to-End Encryption: Client-side RSA-OAEP for all messages & media.
- ⚡ Real-Time Messaging: Socket.IO for low-latency communication.
- 📁 Encrypted Media Sharing: Secure transmission of images & videos.
- 🗝️ Per-User Keys: Private keys remain fully client-side.
- 🔄 Offline Resilience: Queued messages auto-sync on reconnect.
Tech Stack & Architecture
| Layer | Technology | | ---------- | --------------------------------- | | Frontend | React, React Router, Tailwind CSS | | Backend | Node.js, Express | | Real-Time | Socket.IO | | Database | MongoDB | | Encryption | Web Crypto API (RSA-OAEP) |
Message Flow:
- Browser generates RSA key pair.
- Public key stored in MongoDB; private key never leaves client.
- Sender encrypts with recipient’s public key; sends via Socket.IO.
- Recipient decrypts with private key and displays plaintext.
Project Notes
- Developed as a personal security-focused experiment.
- Fully functional with real-time encrypted messaging.
- Open-source under the MIT License.
📅 Completed: July 2, 2025
Related Projects
Discover more projects with similar technologies or categories.
RJRYT Portfolio
A modern, production-ready personal portfolio built with React, Vite, and Tailwind CSS featuring blogs, projects, and PWA support.
QuillMD — Vibecoded Markdown Blog
A modern, markdown-powered blogging platform built with React, Vite, and Tailwind CSS. Features offline-ready PWA, client-side search, SEO optimization, and built-in admin interface.
Buddypair Community Platform
A full-featured MERN-based community platform integrating multiple domains such as job portal, dating, study abroad, matrimony, and courses.