AES-256 with Random 16-Byte IV + HMAC-SHA256
Combining CBC encryption with explicit HMAC-SHA256 integrity tags ensures tamper detection while offloading heavy key operations to workers.
Connection Resolution — Real-Time Video & Messaging
Talkyy explores resilient multi-client messaging, group room collaboration, and WebRTC voice/video signaling paired with practical client-side cryptographic integrity and two-factor account protection.


Interactive Exhibition


01 · Connected Real-Time Surfaces
Desktop group room and mobile encrypted conversation paired as one synchronized Socket.IO presence.
Capabilities
Synchronized direct and group messaging over Socket.IO rooms with typing indicators and per-participant read receipts.
Client-side AES-256 encryption with random 16-byte IV and HMAC-SHA256 integrity verification (ECDH group keys / worker-offloaded crypto).
WebRTC group video and voice calling interfaces with explicit room signaling and relay fallback support.
Interactive room polls, inline voice notes, message reactions, edits/deletes, and Cloudinary media/file sharing.
TOTP two-factor authentication and account security management.
Infrastructure
System Design
React clients encrypt message payloads locally before emitting Socket.IO room events through Express/Node.js, while WebRTC negotiates peer/relay media tracks and Cloudinary handles attachment pipelines.
Client & Crypto
React + Web Crypto / Worker
Performs client-side AES-256 + HMAC-SHA256 payload encryption and renders live room state.
Signaling Server
Node.js + Express + Socket.IO
Coordinates room membership, typing presence, read checkpoints, polls, and WebRTC ICE/SDP offers.
Media & Calls
WebRTC + Cloudinary
Handles peer/relay audio-video call rooms and image/file/voice-note attachment storage.
Persistence & Auth
MongoDB + TOTP 2FA
Stores encrypted message envelopes, room metadata, and two-factor security credentials.
Engineering Tradeoffs
Combining CBC encryption with explicit HMAC-SHA256 integrity tags ensures tamper detection while offloading heavy key operations to workers.
Keeping typing indicators purely ephemeral in Socket.IO avoids unnecessary database writes while persisting read receipts and polls.
Problem Solving
Challenge
Multi-client state divergence when users switch between direct threads, group rooms, and active calls.
Resolution
Structured Socket.IO room lifecycle handlers (setup → join → room events) with explicit call-state tracking.
Challenge
Direct peer traversal failures across restrictive NAT environments during group calls.
Resolution
Built WebRTC signaling negotiation with relay fallback awareness and clear camera-off / voice-only room states.
Evidence
Source-verified signaling, ECDH group keys, AES-256 + HMAC-SHA256, and TOTP 2FA in commit b01d17b3.
Verified dual-client real-time message synchronization, group polls, voice messages, and camera-off/voice calling UI.