Documentation · Protocol v1.1
AlgoChat protocol docs
A cross-language, end-to-end encrypted messaging protocol. X25519 + ChaCha20-Poly1305 + HKDF-SHA256, with an optional ratcheting pre-shared-key mode for defense-in-depth. One wire format, six implementations, conformance-tested against shared vectors.
Getting started
Specification
Protocol specification
The full v1.1 wire format: envelope layout, key derivation, encryption, decryption, PSK ratcheting, and constants.
Implementation guide
Language-agnostic pseudocode for every core function: key derivation, encrypt, decrypt, serialization, key discovery, and PSK mode.
Test vectors
Canonical, deterministic test vectors for cross-implementation verification: key derivation, envelopes, round-trips, and PSK ratcheting.
Security
Implementations
Every language target conforms to the spec on this page. Browse them in the projects catalogue, or jump straight to a repo.