Lattice Field Field
/03Project · Lattice Field
Status: Stable

LATTICEFIELD.

Synopsis

A quantum-inspired key exchange protocol that replaces algebraic trap-doors with the irreversibility of 30,000-dimensional chaotic attractors. Immune to Shor's Algorithm.

Chaos TheoryCMLSHA-256Post-QuantumWebSocketThree.js
/01
30,000
-D
Phase Space
/02
10,000
nodes
Lattice Nodes
/03
22×22×21
3D grid
Topology
/04
10%
1,000 pins
Pinning Density
/05
~12
sec
Sync Time
/06
ln(2)
chaos
Lyapunov Exp
/07
SHA-256
digest
Crypto Mask
/08
immune
Quantum Safe
/02The Problem

Physics over algebra.

Every key exchange protocol we use today relies on mathematical hardness assumptions. Shor's Algorithm breaks them all.

Every key exchange protocol we use today — Diffie-Hellman, RSA, ECDH — relies on mathematical hardness assumptions. Factoring large primes. Computing discrete logarithms. These are computationally hard for classical computers, but Shor's Algorithm on a quantum computer breaks them all in polynomial time.

I wanted to build a key exchange protocol that doesn't rely on algebraic trap-doors at all. Instead of number theory, the security comes from physics — specifically, the irreversibility of high-dimensional chaotic systems. There's no prime to factor, no discrete log to compute, and no structure for a quantum algorithm to exploit.

The result is a protocol where two parties synchronize their own 30,000-dimensional chaotic attractors over an open channel, and the shared secret is the synchronized state itself — derived, never transmitted.

Vulnerability
Algebraic Trap-doors
Solution
30,000-D Chaotic Attractors
Key mechanism
Derived, never transmitted
/03Visualizing Chaos

The Attractor.

3D representation of the coupled quantum chaotic lattice field. Every point is a node evolving through a 30,000-dimensional phase space.

3D Mathematical Representation of the Lattice Field
FIG. 3.1The chaotic attractor formed by the coupled oscillator network.
Representation
/04Architecture

How it works.

Six layers — from chaotic physics to cryptographic verification.

/01

3D Coupled Chaotic Oscillators

Each of the 10,000 nodes tracks a 3-dimensional quantum probability vector (qx, qy, qz) evolving via three mutually coupled logistic maps. The cross-coupling parameter β makes the system non-separable — you cannot solve any dimension independently. R=4.0 puts every oscillator deep into the chaotic regime.

Logistic MapR=4.0β=0.053D Attractor
/02

Coupled Map Lattice (CML)

After each oscillator computes its next state, the Kaneko CML diffusion step blends each node with its 6 nearest neighbors (ε=0.35). This propagates chaotic information spatially across the 3D grid — critical for synchronization to work. Without spatial coupling, pinning would only affect the pinned nodes themselves.

Kaneko CMLε=0.356-NeighborDiffusion
/03

Spatial Pinning Control

1,000 evenly-spaced nodes (10% density) act as the pinning network. Each tick, Alice transmits her state at those locations, and Bob overwrites his pinned nodes. The CML coupling then propagates Alice's information into nearby free nodes — creating a competition between chaos and order that chaos loses.

10% Density1000 Pins60 HzOverwrite
/04

SHA-256 State Masking

Before transmission, Alice hashes her pinned states with SHA-256. Only the 64-character hex digest is sent — reconstructing the 1,000 input floats from the hash requires 2²⁵⁶ brute-force operations. The shared secret is the synchronized state itself — derived, never transmitted.

SHA-256One-way2²⁵⁶ Complexity
/05

Quantum Computer Immunity

Shor's Algorithm needs algebraic structures (factoring, discrete logs) — this protocol has none. Grover's Algorithm provides quadratic speedup on search — but there's no search problem here. The 30,000-dimensional attractor has no known structure a quantum algorithm could exploit.

Post-QuantumNo AlgebraNo Trap-door
/06

3D WebSocket Visualizer

A Three.js frontend connects to the physics engine via WebSocket and renders both Alice's and Bob's quantum fields as 3D point clouds. You can watch two completely random clouds converge into a single unified attractor in real time as synchronization completes.

Three.jsWebSocketReal-time60 FPS
/05Equations & Analysis

Security Analysis.

Every known attack vector has been analyzed. The protocol has no algebraic structure for quantum algorithms to exploit.

The Equations

Each node evolves via three mutually coupled logistic maps. The cross-coupling (β) makes the system non-separable — no dimensional reduction attack is possible.

qx(t+1) = [R · qx(t) · (1 - qx(t)) + β · qy(t)] mod 1
qy(t+1) = [R · qy(t) · (1 - qy(t)) + β · qz(t)] mod 1
qz(t+1) = [R · qz(t) · (1 - qz(t)) + β · qx(t)] mod 1

After isolated oscillator computation, the Kaneko CML diffusion blends each node with its 6 spatial neighbors:

qi(t+1) = (1 - ε) · q̂i + (ε/|Ni|) · Σ q̂j
Attack Vectors
Immune
Brute-force (Shor's)
No algebraic trap-door exists
Blocked
Time-series ML
SHA-256 hides raw state
Blocked
Network sniffing
Only hashes transmitted
Blocked
Replay attack
Non-periodic trajectory
Blocked
MITM injection
Trajectory commitment
Immune
Grover's search
No search structure

Convergence Result

At 10% pinning density, the synchronization error drops to exactly 0.0000000000e+0 — below IEEE 754 double-precision floating-point resolution (~10⁻¹⁵) — within approximately 700–900 ticks at 60Hz. That's about 12–15 seconds.

After convergence, both grids execute bit-for-bit identical trajectories permanently, forming a shared secret that was never transmitted over any channel.

Tick: 00799 | Sync Error: 0.0000000000e+0 | Alice[50]: 0.580142 | Bob[50]: 0.675674

Limitations

Classical simulation

Uses the Quantum Logistic Map from open quantum systems theory — not actual quantum hardware or entanglement.

No authentication layer

Does not verify who Alice is. A full deployment needs PKI or public-key auth before synchronization begins.

Session key derivation

The synchronized state is the secret, but extracting a standard AES-256 key from it needs formal specification.

Not peer-reviewed

Security claims are based on theoretical analysis and empirical testing. Formal proofs have not been published.

MATH
/06End

Post-quantum
first principles.

This project combines chaos theory, coupled dynamical systems, spatial control theory, and cryptographic hashing into a key exchange protocol with no known quantum vulnerability. If you're working on post-quantum security or nonlinear dynamics, let's talk.