Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📁 Repository Name:

WebRTC-VideoChatApp-with-True-EndToEndEncryption-Enabled


📝 Description:

A browser-based WebRTC application that enables secure, real-time video and chat using End-to-End Encryption (E2EE). Built with Insertable Streams, ECDH key exchange, and AES-GCM encryption, this project demonstrates secure peer-to-peer communication without server-side access to media.


📂 Project Structure

/public
├── client.js         → Frontend logic (WebRTC, encryption, UI events)
├── index.html        → Web UI layout
├── style.css         → Custom styles for the application

package.json          → Project dependencies
package-lock.json     → Lock file for dependencies
server.js             → Node.js + Socket.IO signaling server

🚀 Features

  • 🔐 End-to-end encrypted video and chat
  • 🔑 ECDH key exchange using the Web Crypto API
  • 🔒 AES-GCM media encryption via Insertable Streams
  • 🌐 Real-time 1:1 WebRTC connection
  • 🗂️ Stateless signaling server using Socket.IO
  • ⚙️ Modular and browser-native implementation

🛠️ Technologies Used

Area Stack
Frontend HTML, CSS, JavaScript
WebRTC RTCPeerConnection, Insertable Streams API
Encryption AES-GCM, ECDH (Web Crypto API)
Backend Node.js, Express, Socket.IO
Auth (optional) JWT (JSON Web Tokens)

🧠 Project Background

This application was developed as part of a Master’s thesis project: “Implementation of an End-to-End Encryption Mechanism in WebRTC Video Streaming” 🎓 Authors: Medkour Salah Eddine & Arab Idris 👩‍🏫 Supervisor: Dr. Mechouek Khaoula 🏛️ University: Badji Mokhtar University – Annaba


🧩 Getting Started

npm install
node server.js

Then open http://localhost:3000 in two separate browser tabs or devices.


Author: Salah Eddine Medkour @salahmed-ctrlz

About

A browser-based WebRTC video chat application implementing real end-to-end encryption (E2EE) using Insertable Streams, ECDH key exchange, and AES-GCM. Built as part of a Master's project at Badji Mokhtar University to demonstrate secure, peer-to-peer video communication without relying on server-side trust.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages