← Back to section · Digital Security

Anonymous Communication Basics: Onion Routing, Mix Networks, and the Limits of Anonymity

Anonymity is not a synonym for encryption. This article explains the two classic architectures — low-latency onion routing and high-latency mix networks — whom each defends against and whom it does not, and the conceptual boundaries between anonymity, pseudonymity and unlinkability.

Published 22 November 2026 · 5 min read · PQ Frontier

Anonymous Communication Basics: Onion Routing, Mix Networks, and the Limits of Anonymity
AI-generated site artwork
Video explainer · Data Privacy: Minimisation and Protection

Anonymity hides relationships, not content

Encryption answers “what was said cannot be overheard.” Anonymous communication answers a different question: “the fact of who is talking to whom is itself not known.” The two goals are orthogonal: a message can be encrypted end to end while exposing the communication relationship to every observer along the path; conversely, a relationship can be well hidden while the content travels in plaintext. Mature privacy systems need both, but the mechanisms are entirely different.

There has always been one main thread in how anonymity is achieved: never let any single observer see both ends of a communication at once. Around this thread, history has grown two architectures, differing in where they sit on latency.

Onion routing: built for low latency

In onion routing, the sender pre-selects a path of relays and wraps the data in layers of encryption, like an onion — the innermost layer is for the final destination, and each outer layer corresponds to one relay’s decryption step. Each relay peels off its own layer and learns only “who the previous hop is and who the next hop is”; it does not know its full position in the path, let alone the original sender and the full content. Implementations exemplified by Tor use three relays, publish relay lists through directory services, and can rotate circuits periodically.

The three-hop design buys latency low enough for interactive use: web browsing and instant messaging both work. But its threat model is stated just as clearly: it defends against local observers — your access provider, a single compromised relay, the destination website on its own. It does not defend against a global passive observer: if the adversary can watch traffic on both the entry and exit sides, timing and volume correlation gives them a chance to match the two ends. That is the inherent price of low latency, not an oversight of any particular implementation.

Two further components of real-world onion routing are worth knowing. Entry guards: a client sticks with a small fixed set of entry relays over the long term instead of picking randomly each time — random selection looks more dispersed, but with enough uses it eventually lands on an attacker-controlled entry, whereas a fixed guard settles the “entry is adversary-controlled” probability once and for all: either safe for the long haul, or exposed from the start, with no probability accumulating toward certainty over time. Bridges: relays that are not publicly listed, whose addresses are distributed through out-of-band channels, letting users in censored networks bypass blocks on the public relay list — they solve an availability problem, and they point at a fact worth remembering: an anonymity system’s adversaries include not only watchers but also blockers, and the countermeasures for the two are not the same.

Mix networks: trading delay for correlation resistance

The mix network idea predates onion routing; David Chaum proposed it in 1981. A mix node does not forward a message immediately. It first collects a batch, shuffles the order, equalizes sizes, and only then sends the batch out. The timing correspondence between inputs and outputs is thereby erased by the batch: even watching everything entering and leaving a node, an observer cannot tell which input corresponds to which output. Add random delays and cover (dummy) traffic, and correlation resistance strengthens further.

The price is in the name: batching and delaying mean messages wait. Email-style asynchronous communication can tolerate delays of minutes to hours; interactive sessions cannot. So both families of system persist to this day: low-latency onion routing serves interactive scenarios, high-latency mix networks serve scenarios where anonymity strength outranks timeliness. Some recent designs look for a middle point — tunable random delays and layered mixing in exchange for usable delays of seconds — but they are still different landing points on the same trade-off curve.

Three concepts that must not be conflated

Three words are routinely used interchangeably in discussions of anonymity, yet the guarantees they name are entirely different:

  • Pseudonymity: actions are attached to a stable alias. An alias can accumulate reputation and sustain long-term relationships, but everything under the same alias is inherently linkable — deanonymize the alias once, and its entire history is attributed. Forum accounts and on-chain addresses are pseudonyms.
  • Anonymity: a single action cannot be attributed to a specific subject; the subject hides within an “anonymity set,” and the observer can assign the action only to that set, not to an individual. The larger the set, the stronger the anonymity — which is why a niche anonymity system can paradoxically be more dangerous: its mere users are a distinguishing feature.
  • Unlinkability: going further, it requires that even multiple actions by the same subject cannot be judged to come from the same person. One-time aliases and per-session identifiers are engineering steps in this direction.

The long-term adversary: intersection attacks

Anonymity systems face one more adversary that grows stronger with time: the intersection attack, also called a disclosure attack. Its logic relies on no flaw in any single communication: suppose an anonymous user appears repeatedly over a period; each observation narrows the suspect range only to “the anonymity set online at that moment,” but intersect the sets from many observations and the range converges rapidly onto a few people, or one. Regularity is its fuel — coming online at fixed times, communicating only with fixed counterparts, the “regulars” who are always present get sieved out by statistics over long records. This is why serious anonymity users are advised to change their behavior patterns, and it exposes a deep difficulty in anonymity-system design: resisting intersection attacks requires user behavior itself to be unpredictable, which no protocol can deliver on its own. It shares a lesson with harvest-now-decrypt-later: privacy risk must be assessed in years, not per use.

One last caution: anonymity systems protect relationships at the network layer; they cannot protect content at the behavior layer. Logging into a real-name account, writing in a recognizable style, coming online at fixed times — each of these punctures anonymity at the application layer. Anonymous communication is a necessary layer, never a sufficient one.

Tags: Anonymous communicationOnion routingMix networksUnlinkability