ViGNESH.S
Node.jsWebSocketsCryptographyReact

Secure E2E Messaging

A security-focused real-time chat app implementing genuine End-to-End Encryption. Key exchange uses ECDH (Elliptic-Curve Diffie-Hellman) to establish a shared secret without the server ever seeing private keys. Messages are encrypted with AES-256-GCM before transmission. The Node.js server only relays ciphertext — it cannot read any messages. Secure file transfer uses the same encryption pipeline. WebSocket connections use WSS (TLS).

Key Highlights

  • 1ECDH key exchange — server never sees private keys
  • 2AES-256-GCM message encryption client-side
  • 3Secure file transfer with same encryption pipeline
  • 4WSS (TLS) WebSocket connections
  • 5Zero-knowledge server architecture

Tech Stack Deep Dive

Node.js
Node.js
WebSocket relay server — zero-knowledge ciphertext relay
React
React
Chat UI — key management, encryption/decryption
Web Crypto API
Web Crypto API
ECDH key exchange + AES-256-GCM encryption
Socket.IO
Socket.IO
Real-time bidirectional communication over WSS

Tech Specs

RoleSecurity
EncryptionAES-256
SocketWSS

Stack Tags

Node.jsWebSocketsCryptographyReact