Onion Routing
- •
Definition
- •
a technique (also called anonymous routing) for sending a message so that no single relay knows both who sent it and where it's ultimately going — used to post anonymously (e.g. to an online forum) without revealing identity
- •
- •
How it works
- •
Alice nests the message in layers of encryption, one per relay ("mix"): for relays Carol and David
- •
each relay decrypts one layer with its own key, learns only "who to forward to next," and passes the remaining ciphertext along — like peeling an onion
- •
a single relay (even if malicious) never learns both the original sender and the final content/destination; anonymity breaks only if enough relays collude
- •
- •
Mixing service
- •
a relay that batches and shuffles many users' messages together, so an outside observer watching traffic in and out can't correlate which incoming message maps to which outgoing one; this batch is called the anonymity set
- •
- •
Security requirement: nested encryption
- •
for onion routing to work, each relay holding its own key must learn nothing about the original message from the nested ciphertext
- •
key result — if the underlying cipher is semantically secure, then -way nested encryption remains semantically secure even if the adversary is given all but one of the layer keys
- •
- •