https://github.com/aryanchauhan1234/securechat
SecureChat is a modern full-stack chat application built with security and privacy at its core. Using Hybrid AES end-to-end encryption (E2EE), "BELOW LIVE LINK "
https://github.com/aryanchauhan1234/securechat
aes-encryption cloudinary cryptojs encryption-decryption express hybrid indexeddb jwt-authentication mongodb react zustand
Last synced: 3 months ago
JSON representation
SecureChat is a modern full-stack chat application built with security and privacy at its core. Using Hybrid AES end-to-end encryption (E2EE), "BELOW LIVE LINK "
- Host: GitHub
- URL: https://github.com/aryanchauhan1234/securechat
- Owner: aryanchauhan1234
- License: mit
- Created: 2025-06-14T13:31:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-14T13:58:09.000Z (about 1 year ago)
- Last Synced: 2025-06-26T03:01:56.021Z (about 1 year ago)
- Topics: aes-encryption, cloudinary, cryptojs, encryption-decryption, express, hybrid, indexeddb, jwt-authentication, mongodb, react, zustand
- Language: JavaScript
- Homepage: https://securechat-q15k.onrender.com
- Size: 812 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

SecureChat Realtime Chat App with real time end to end endcritption ✨
# ✨ Full
# 🔐 SecureChat – End-to-End Encrypted Messaging App
SecureChat is a modern full-stack chat application built with security and privacy at its core. Using cutting-edge **end-to-end encryption (E2EE)**, SecureChat ensures that messages can only be read by the intended recipients — not even the server can decrypt them.
---
## 🚀 Features
- 🔐 **End-to-End Encryption (E2EE)** using **RSA + AES Hybrid Encryption**
- 🧑🤝🧑 Real-time 1:1 messaging
- 🖼️ Send text and image messages
- 🟢 Online/offline presence indicator
- 🔒 Secure key generation and exchange per user
- 🗑️ Ephemeral message keys – no permanent storage of private keys
- 🧠 Smart error handling and toast notifications
- 🌐 Cross-browser and responsive UI
---
## 🧰 Tech Stack
**Frontend:**
- React.js + Tailwind CSS
- Zustand (for global state management)
- CryptoJS (for frontend encryption logic)
**Backend:**
- Node.js + Express
- MongoDB with Mongoose
- Cloudinary (for image storage)
- JSON Web Tokens (JWT) for authentication
- IndexedDB (for local private key storage in browser)
**Security:**
- RSA (asymmetric encryption) for secure key exchange
- AES (symmetric encryption) for efficient message encryption
- Per-user public/private key generation
- End-to-end encryption handled entirely on the client-side
---
## 🔧 Local Development Setup
### Prerequisites
- Node.js and npm
- MongoDB running locally or MongoDB Atlas URI
- Git
### Clone the repository
```bash
git clone https://github.com/your-username/SecureChat.git
cd SecureChat
### Setup .env file
```js
MONGODB_URI=...
PORT=5001
JWT_SECRET=...
CLOUDINARY_CLOUD_NAME=...
CLOUDINARY_API_KEY=...
CLOUDINARY_API_SECRET=...
NODE_ENV=development
```
### Build the app
```shell
npm run build
```
### Start the app
```shell
npm start
```