oJust1n Discord
The messenger walkthrough's title card: how a message stays secret
ST-06 · Line L · Lab

Secret messenger

Finished Encryption · 108 tests, 18 attacks

Only two people can read it

A Signal-style messenger built from scratch: two phones chat through a relay that only ever sees scrambled bytes. Every message gets a fresh key, so a stolen key can't read the past. Press play for the two-and-a-half-minute story; the log underneath is real output from the code.

108 tests passing, 18 of them attacks that must fail

Python · X25519 · X3DH · Double Ratchet · ChaCha20-Poly1305 · built Oct 30, 2026 · a learning project, not for real secrets

01 · Meet everyone

Press play to start.

0:00 / 0:00

Chapters

    Under the hood

    Real keys, ciphertext and errors from the messenger code appear here as the story plays.

    Values come from running the project's own x3dh.py, ratchet.py and safety.py.