Architecture · 5 layers · 2 devices · 1 truth

The architecture
is the promise.

A privacy policy is words on a page; an architecture is a structure of impossibilities. DevoraX2 is built so that even if I wanted to read Your messages — I could not. The pages below describe, openly, every layer that makes that statement true.

I do not ask You to trust my intentions. I ask You to trust the structure — and I publish every part of it, so that the trust is verifiable.

— DevoraX2 · Architecture Charter

Section I · The layered mind

Five layers,
from skin to soul.

DevoraX2 is built in five layers, stacked so that each one only touches the layer immediately adjacent to it. No layer can read above its own. A breach of one layer does not propagate up. That is the entire point of the stack.

01
Outermost · what You see

Cipher Personality

The personalized defense profile You set up at install. Knows what factors apply to You, in what order, with what thresholds. Never leaves Your two devices. Wraps everything below it.

02
Above the wire

Application & UI

The messenger itself: chats, calls, Worlds, settings. Touches Personality above and Cross-Guard below. Never sees raw cryptographic material. Talks only in opaque tokens.

And the structure inside is Yours. What I call “Worlds” You can rename to anything — the levels, the depth, the nesting logic are Yours to draw. That schema is encrypted on Your device, like keys. My relay only ever sees opaque UUIDs and sealed blobs; it never learns that one blob is a “World” and another a “Topic.” The meaning lives only on Your device. I call this layer the Personal Structure Schema (PSS) — security through diversity, because no two structures are alike, and an exploit shaped for one user finds nothing on another.

03
The agreement

Cross-Guard Protocol

Signs every sensitive action between Device A and Device B. Lives between the application and the cryptographic core — it cannot decrypt what it signs, and it cannot sign what it decrypts. A different key for every action.

04
The math

Cryptographic Core

PQXDH key exchange + ML-KEM-1024 (post-quantum), Double Ratchet (forward and future secrecy), ChaCha20-Poly1305 (authenticated symmetric encryption), Sealed Sender (metadata privacy). The only layer that touches plaintext. Everything above it is opaque to itself.

05
The pipe

Transport

Sealed packets between devices and my relay. WebSocket, QUIC, fallback to HTTPS. The transport layer cannot read the cryptographic core above it — it sees only ciphertext addressed to opaque session tokens.

Section II · Dual-device topology

Three nodes.
One can see; two can act.

The runtime topology has three live participants — Device A, Device B, and a relay (which I call "the server"). Each node has a precise scope of what it knows, and an explicit boundary of what it cannot.

Device A · Primary

The runtime

Knows

All Your messages, contacts, keys, settings. Decrypts incoming and encrypts outgoing. Holds the runtime.

Cannot

Change passwords, pair devices, disable modes, export archives, or remove Cross-Guard alone.

Server · Relay

The witness

Sees

Sealed packets, opaque session tokens, presence pings. Routes encrypted blobs from one opaque address to another.

Cannot

Read message contents, see who is talking to whom (sender identity is sealed), forge signatures, or alter Cross-Guard handshakes. Not "will not." Cannot.

Device B · Guardian

The sovereignty

Knows

Sensitive-action requests from A. Their signatures, contexts, timestamps. Approves, denies, freezes, wipes, reissues.

Cannot

Hold a permanent copy of all messages, act in real-time chat. It is the authority, not the runtime.

Vault · the fourth node (off-runtime)

The vault is not a live participant — it sleeps, waiting. It receives continuous and panic backups from Device A, sealed end-to-end with keys only You can derive. My server cannot read the vault; the vault provider cannot read the contents. You choose its location at install (see Section V below).

Section III · The cryptographic core

Four primitives.
Each defends a different attack.

The core is built from four standard, well-audited cryptographic primitives. None of them is novel. Novelty in cryptography is the most expensive feature there is — and I will not pay that bill on Your data.

01 · Key exchange

PQXDH + ML-KEM-1024

X25519 ECDH + ML-KEM-1024 KEM (NIST FIPS 203)

Hybrid: classical and post-quantum at the same time. An adversary must defeat both to derive a session key — one of which has no known quantum attack.

02 · Forward secrecy

Double Ratchet

Symmetric + DH ratchets, per-message rotation

A new key for every message; the previous is destroyed on use. Compromising one message's key reveals only that message.

03 · Authenticated encryption

ChaCha20 Poly1305

96-bit nonce · 128-bit auth tag

The same cipher trusted by Signal, WireGuard, and TLS 1.3 worldwide. A single bit flipped in transit causes a loud failure.

04 · Metadata sealing

Sealed Sender

Sender identity encrypted inside the envelope

My relay does not learn who is talking to whom — only that two opaque session tokens are exchanging packets. The relationship graph never exists on my side.

05 · Identity signatures

Ed25519

Edwards-curve · 32-byte keys, 64-byte signatures

Every device carries one long-term identity key. The private half never leaves the device; the public half is what other devices verify against when a session opens.

06 · Content hashing

BLAKE3

256-bit output · tree-mode parallel

Used for content addressing of encrypted blobs and integrity commitments on the audit log. Fast, parallel, and modern — the successor to BLAKE2 in the same family of vetted hash designs.

07 · Password derivation

Argon2id

Memory-hard · 64 MiB target, 3 passes, 4 lanes

The vault unlock and GraphPIN material run through Argon2id before they ever touch a symmetric key. A guessing attacker pays full memory cost per attempt — brute force scales with hardware, not patience.

08 · Key derivation

HKDF-SHA256

Extract + expand · domain-separated labels

Glues the hybrid KEM output into the session key, with a separate label per ratchet step. The same primitive that derives session keys in TLS 1.3. Simple, audited, hard to misuse when the labels are written down.

Section IV · The server's job

What my server does,
and what it cannot.

Most messengers are honest about what they do and quiet about what they could. I do the opposite: I say loudly what is impossible by design. If my entire infrastructure were breached tomorrow, here is what an attacker would walk away with.

What the server does

It relays, it witnesses.

  • Relays sealed packets between devices, addressed to opaque session tokens.
  • Holds presence pings — the device is awake, the device is asleep. No content, no metadata beyond connectivity.
  • Coordinates Cross-Guard handshake by carrying signed packets from A to B and back. Cannot read what they contain.
  • Buffers undelivered messages as ciphertext, for delivery when the recipient comes online. Buffer is opaque even to me.
  • Distributes key-revocation broadcasts when a device is wiped or reissued. Public signed messages, no private data.
  • Forwards SMS-Brick triggers (when used through my optional channel). The trigger itself is signed and addressed; I cannot forge or replay it.
What the server cannot

It does not see, it does not hold.

  • Read message contents — the math will not produce plaintext on my side, ever, for any reason.
  • Hold message keys — keys exist only on Your devices and are deleted on use.
  • Build relationship graphs — sender identity is encrypted inside the envelope. I cannot say who spoke to whom.
  • Authenticate Your identity — that work is done by the device pair. I cannot forge a "logged in as You" event.
  • Forge a Cross-Guard approval — Device B's signatures are verified locally on Device A. I can carry a packet; I cannot rewrite it.
  • Decrypt the vault — the vault is sealed end-to-end with keys derived from Your seed and Your devices. Even when I host the vault, I host opaque blobs.
Section V · The vault

You choose where
Your data survives.

The vault is where Your continuous backups and panic-snapshots live. It is never decrypted outside Your devices — which means I can offer five different vault locations without losing anything from the security model. The location is convenience. The encryption is the constant.

DevoraX2 cloud

Default · zero-knowledge

Hosted by me, on infrastructure I operate. Sealed end-to-end — I host opaque blobs. Easiest setup, no dependencies.

Available · Phase II

Self-hosted

Your server, Your terms

A small daemon You run on Your own VPS, NAS, or homeserver. The opaque blobs never leave infrastructure You control.

Next · Phase IV

IPFS pinning

Distributed · content-addressed

Backups pinned to IPFS via Pinata, Filebase, or Your own node. Content-addressed, replicated, censorship-resistant.

Next · Phase IX

Hardware cold

Air-gapped · never online

Periodic offline writes to a hardware-backed device (USB enclave, dedicated SSD). Air-gapped during attack windows.

Future · Phase XIV

Federated

Org-run relay · Phase XV

A vault hosted by an organization You belong to (a company, a publisher, a coalition). Same protocol, governed locally.

Future · Phase XV
Section VI · The trust model

Who and what
You actually trust.

Every secure system has a trust model — a list of things that, if compromised, the system assumes are not. Most companies blur this list. I list it explicitly: what I trust, what I do not, and why.

The math

Signal Protocol. ML-KEM-1024. ChaCha20-Poly1305. Standard, peer-reviewed, audited for decades. If the math fails, the entire field fails before me.

The open source code

Every line of cryptographic implementation is published, audited, and reproducibly built. I trust what You can verify, not what I promise.

Your two devices

The pair You set up. I trust them by design — they are the only places where plaintext ever lives. If both are compromised simultaneously, the model breaks; that is why Cross-Guard exists, that is why Modes exist.

Your recovery seed

The words You wrote on paper at install. I trust You to keep them somewhere I cannot reach. The system that needs no master key delegates all sovereignty to You.

Not me

I do not need to be trustworthy for this to work. I could be malicious, careless, subpoenaed, or insolvent — the architecture means I cannot read Your messages either way. The point of the design is to remove ourselves from Your trust list.

Not my infrastructure provider

Whoever hosts my relay sees only sealed packets. They cannot read content, cannot identify who is talking to whom. A breach of my hosting provider yields encrypted noise.

Not a government or court order

I cannot hand over what I do not have. Subpoenas yield ciphertext. Gag orders cannot force me to read a file I have no key for. The architecture is the legal answer.

Section VII · Failure modes

What happens when
something breaks.

A privacy product that ignores its own failure modes is a product that has not thought about them. I have. Here are the three most consequential breaks — and what survives them.

Failure 01 · Severe

What if DevoraX2 the company disappears tomorrow?

→ The answer

The messenger keeps working between paired devices. Your vault remains accessible — if You self-host, indefinitely; if You used my cloud, until my hosting bill defaults (and the open-source migrator lets You move it before that). I am not a single point of failure for Your past. I am at most a single point of failure for my future updates — which is why the code is open and reproducible.

Failure 02 · Operational

What if the relay goes down?

→ The answer

Devices buffer outgoing messages locally and retry. Cross-Guard handshakes are queued and resume on reconnect. Federated relays (Phase XV) provide alternates; until then, a regional outage causes delays, never data loss. Notifications fall back to SMS channels where opted in. The pause is the worst case.

Failure 03 · Trust-breaking

What if an audit finds a flaw?

→ The answer

Public pause. Versioned migration. I will not ship a fix that hides the original flaw — both the report and the remediation become part of the audit trail. Trust is rebuilt by transparency, not silence. If I cannot rebuild it, I say so — and tell users to migrate to whatever survives the failure. I will not pretend that bad news did not happen.

Section VIII · Why this design

The architecture
is the argument.

I could have built a simpler messenger. I chose not to, three times over. Here are the three decisions that made DevoraX2 what it is — and why each tradeoff was the right one.

I.

Why two devices, not one.

A single device is a single point of failure — and a single point of coercion. With one phone, one PIN, one biometric, You and an attacker who holds Your phone are functionally indistinguishable to the lock. Two devices give the lock a second voice to ask before it opens. The cost is owning a second phone. The benefit is that the first phone alone does not end You.

II.

Why open, not opaque.

A privacy product whose code is closed is a product asking for trust on words. I do not want that kind of trust — it does not survive a single bad week of news. So I publish the code, the protocols, the audits, the architecture. If I ever ship a backdoor, the open-source community will see it before my investors do.

III.

Why slow, not fast.

A consumer messenger ships a feature in a sprint and apologises later. I cannot apologise my way out of broken encryption. So I ship slowly, and only when the math is ready. Investors who want hockey-stick growth tend to leave me. That is part of the design too.

— That is the architecture —

Eight sections. Five layers. Two devices.
One commitment to verifiability.

If You want to read the cryptographic deep dive, the dual-device protocol, or the modes that protect You under pressure — the Security pages go layer by layer.