E2EE Chat Terminal – Onion Service Implementation
Categorie
Languages
Python, JavaScript, CSS, HTML
Description
It’s a high-security, zero-knowledge communication platform specifically engineered for Anonymity Networks. It leverages a sophisticated hybrid encryption model where the central server acts as an authenticated relay without ever possessing the keys to decrypt user data.
Technical Narrative
This implementation prioritizes user sovereignty by replacing traditional centralized credential storage with an asymmetric 4096-bit RSA challenge-response handshake. By utilizing the browser’s native Web Crypto API, private keys are generated, encrypted via AES-GCM, and stored locally, ensuring they never traverse the network.
The messaging protocol employs a double-wrapped payload system: each message or binary file is encrypted with a transient AES-256 symmetric key, which is then encapsulated using the recipient’s RSA public key. To handle the unique constraints of the Tor network, the platform is built on an asynchronous ASGI framework (Django Channels & Daphne), providing resilient, low-latency WebSocket connections optimized for high-latency onion routing.
Technical Stack
- Security: Web Crypto API, RSA-4096, AES-256-GCM, SHA-256.
- Backend: Django 5.x, Channels, Daphne, PostgreSQL/Sqlite.
- Deployment: Tor/Onion Service Implementation.




