PARTICLEPAIR
Optical OOB · v1
Protocol

SOURCE-AVAILABLE · NONCOMMERCIAL OPTICAL PAIRING LAB

Let pairing codes
fade into particles.

People see a flowing particle cloud. A camera recovers an error-protected one-time secret from consecutive frames.

128bit secret
300ms phase
CRCCCITT
01

Broadcast particle code

ALIGN DEVICE
90%
02

Send data

Generate or enter a 16-byte one-time secret

0/32
Awaiting verification

Loopback test has not run yet

Awaiting rendered-pixel test

No real Canvas pixels have been read yet

03

Camera receiver

Scan this screen with another device

CAMERA
SYNC 0%

Align the complete particle square on the computer with the guide

04

Decoded result

Release the pairing secret only after validation

A valid result will appear here

Frames that fail the protocol header or CRC are rejected

PROTOCOL PIPELINE

Vision is the carrier. Cryptography is the boundary.

  1. 1Frame

    A 128-bit random secret, version, and CRC form a 21-byte packet.

  2. 2Correct

    Hamming(12,8) encodes each byte and repairs a single-bit error.

  3. 3Modulate

    252 data bits map into the inner region of an 18×18 optical grid.

  4. 4Recover

    The camera compares opposite phases, synchronizes on the border, then validates and releases.

This project demonstrates an optical out-of-band authentication link. Production pairing must continue with an authenticated key exchange after recognition; Particle Code is not itself an encryption algorithm.