xContinuity Playground
Explore cryptographic state continuity — serialize agent state, split into threshold shares, detect tampering, and apply incremental deltas — entirely in your browser.
Build an agent state snapshot. Each key-value pair is serialized to binary TLV (type-length-value) format, then an HMAC-SHA256 checksum seals the entire payload.
Split the serialized state into 3 shares using XOR-based information dispersal over GF(2). Any 2-of-3 shares can reconstruct the original. Each share alone reveals nothing.
Reconstruct the original state from any 2 shares. Drop one share entirely — the data survives.
Flip a single byte in a share and attempt reconstruction. HMAC-SHA256 catches the corruption — fail-closed, no garbage returned.
Change one field in the state. Compute the XOR delta between old and new serializations. Apply the delta to update shares without a full re-split.