Skip to content

triunex/Project-AEQC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sovereign Communication Protocol: AES Chat

A Comparative Analysis of Post-Quantum Cryptographic Implementation and Spatial Audio Networking

AES Chat is a research-grade, browser-native communication infrastructure engineered for the post-quantum computational era. It establishes a cryptographically sovereign digital perimeter by synthesizing military-grade symmetric encryption (AES-256-GCM) with advanced lattice-based asymmetric primitives (ML-KEM/Kyber-768).


1. Abstract

The platform addresses the emergent threat of "Harvest Now, Decrypt Later" strategies employed by sophisticated state-level adversaries. By integrating NIST-standardized Post-Quantum Cryptography (PQC), the protocol ensures that captured ciphertext remains mathematically intractable even against future cryptanalytic attacks facilitated by Large-Scale Quantum Computers (LSQC). The system further integrates Spatial Computing for collaborative audio environments and an Infinite Encrypted Canvas, optimizing the cognitive ergonomics of secure remote collaboration.


2. Technical Feature Specification

2.1 Neural-Lattice Key Exchange (ML-KEM)

The protocol utilizes the Kyber-768 algorithm to perform cryptographic handshakes, effectively replacing legacy RSA and Elliptic Curve Diffie-Hellman (ECDH) protocols. This Module-Lattice-based Key Encapsulation Mechanism (KEM) is designed to withstand attacks from both classical and quantum processors.

2.2 Sovereign Media Engine (SME)

The Sovereign Call System implements a double-layered security architecture for real-time media:

  • Layer 1 (Standard): DTLS-SRTP encryption provided by the WebRTC stack.
  • Layer 2 (Sovereign): Secondary frame-level encryption using AES-256-GCM via Insertable Streams (Encoded Transforms).
  • Out-of-Band Verification: Integration of a Short Authentication String (SAS) ("Safety Code") derived from the SHA-256 hash of the shared PQC secret to neutralize Man-in-the-Middle (MITM) attacks.

2.3 Zero-Persistence Memory Architecture

The system operates on an ephemeral memory model. Cryptographic keys and session-specific material reside exclusively in volatile RAM and are explicitly purged (overwritten/nullified) upon session termination. No plaintext data or keying material is committed to non-volatile storage.

2.4 Holo-Spatial Acoustic Environment

The platform features a 3D Audio Radar utilizing the Web Audio API for spatialization.

  • Stereo Field Separation: Participants are positioned in a virtual three-dimensional field to leverage the "Cocktail Party Effect," improving speech intelligibility in multi-peer environments.
  • P2P Mesh Topologies: Media packets flow directly between authenticated peers, minimizing latency and eliminating central points of interception.

3. Cryptographic Intensity and Computational Benchmarks

3.1 Symmetric Layer Durability (AES-256)

The symmetric encryption layer utilizes a 256-bit key length, providing $2^{256}$ potential key combinations (approximately $1.15 \times 10^{77}$).

Computational Analysis:

  • Baseline Global Throughput: Assuming a hypothetical aggregate computing power of $10^{20}$ FLOPS.
  • Estimated Brute-Force Duration: $1.15 \times 10^{57} / (3.15 \times 10^7) \approx 3.67 \times 10^{49}$ years.
  • Conclusion: The temporal requirements for a brute-force exhaustion of the key space exceed the estimated remaining life of the universe by several orders of magnitude.

3.2 Lattice-Based Security (Kyber-768)

Kyber-768 derives its security from the hardness of the Module Learning with Errors (M-LWE) problem. It provides a security level equivalent to AES-192/256 against quantum cryptanalysis, ensuring forward secrecy in a post-quantum environment.


4. System Architecture

4.1 Topology Diagram

The system utilizes a hybrid model for signaling and media:

+-----------+          Signaling (Encrypted)         +------------+
|  Client A | <------------------------------------> | Relay Node |
+-----------+                                        +------------+
      ^                                                     ^
      |                                                     |
      |             Sovereign P2P Tunnel (PQC-E2EE)         |
      +-----------------------------------------------------+

4.2 Technology Integration

  • Platform Core: ECMAScript 2022 (Modules), HTML5, CSS3.
  • Cryptographic Library: crystals-kyber implementation (WASM/JS) and W3C Web Crypto API.
  • Signaling Layer: WebSocket (Socket.IO) with PQC handshake management.
  • Media Stack: Web Audio API (Spatial Panner Nodes), WebRTC (Encoded Transforms).

5. Deployment and Implementation

5.1 Local Environment Configuration

  1. Initialize the repository:
    git clone https://github.com/triunex/aes-chat.git
  2. Dependency installation:
    npm install
  3. Development execution:
    npm run dev

5.2 Production Deployment

The infrastructure is optimized for containerized environments and cloud-native platforms such as Render.

  • Deployment requires NODE_ENV=production configuration.
  • STUN/TURN infrastructure is required for peer traversal across restrictive NAT/Firewall boundaries.

6. Regulatory and Ethical Considerations

The protocol assumes a "Zero-Trust" stance. Because decryption keys are ephemeral and strictly client-side, the infrastructure owner maintains no technical capacity to comply with data access requests (subpoenas) for message or call content. Users are advised to maintain physical security of their endpoints, as the software cannot protect against hardware-level data exfiltration or state-sponsored endpoint compromise.


7. License and Attribution

This project is licensed under the MIT License. Developed for critical, high-stakes communication where cryptographic sovereignty is paramount.

About

AES Chat: A sovereign communication protocol for the post‑quantum era, fusing lattice‑based cryptography with spatial audio collaboration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors