Z6P Protocol
The Senary Cyclic Protocol defines a complete post-quantum key encapsulation mechanism over Z6 topology.
Z6 Key Space
64 elements drawn uniformly from Z6 (0โ5) using a CSPRNG. Each element encodes ~2.585 bits, yielding 165 bits of combinatorial entropy. Packed as 24 bytes (3 bits per element).
Topological Shielding
Key validity is verified via a zero-divisor moat โ the adjacency graph of the key space must form a connected, non-bipartite component under the Z6 multiplication topology.
KEM Construction
KEM = HKDF-SHA256(key_space โ context) โ AES-256-GCM key. Encrypted payload carries encapsulated Z6 key, IV, auth tag, and topological proof in a single compact envelope.
Zero-Trust / Ephemeral
All keys are single-use. Server holds no key state. Ephemeral key exchange via /exchange endpoint. Forward secrecy by design โ compromise of a session key reveals nothing about past or future sessions.
Specifications
Z6P protocol parameters and cryptographic primitives.
Modulus
Key Elements
Entropy
Footprint
KDF
Cipher
Live KEM Demo
Generate a Z6 key, inspect its topology, and perform a simulated encapsulation.