VTX Binary Format
A compact, versioned, optionally-encrypted binary format for portable VORTΞXHQ data — clusters, hosts, profiles, and vaults.
Header layout
| Offset | Bytes | Field |
|---|---|---|
| 0 | 4 | Magic — ASCII VTX1 |
| 4 | 1 | Type — 0x01 API_CLUSTER · 0x02 FTP_HOSTS · 0x03 SSH_HOSTS · etc. |
| 5 | 1 | Version — currently 0x01 |
| 6 | 4 | Payload length (uint32 LE) |
| 10 | N | Payload — zlib-deflated, XOR-scrambled JSON |
Detection
The importer auto-detects: native VTX (magic header), Postman collections (info + item fields), Vortex Collection JSON (_format: 'vortex-collection'), or generic JSON. The right importer is picked automatically.
MPVAULT2 — encrypted SSH vault
For SSH host export, VTX is wrapped in an additional AES-256-GCM layer:
- Magic:
MPVAULT2 - Vault key: derived from a passphrase via Argon2id, with the salt embedded.
- IV + auth tag stored alongside the ciphertext.
- HMAC-SHA-256 over header + ciphertext for tamper detection.
Forward / backward compatibility
The version byte lets readers reject formats they don't understand. Minor versions are required to be backwards-compatible for read; importers gracefully ignore unknown fields.