Tor Hidden Services and Onion Addresses
What you'll learn: How .onion services provide server-side anonymity and cryptographic identity verification in the Tor network.
What Are Hidden Services?
While Tor typically anonymizes clients accessing normal websites, hidden services (now called "onion services") flip the script: they hide the server's location and identity. Instead of a traditional domain like example.com, these services use .onion addresses—cryptographic identifiers that only resolve within the Tor network.
Think of it like a secret meeting point: both parties use Tor circuits to meet at a rendezvous location, so neither knows where the other is physically located.
How They Provide Server Anonymity
When you set up an onion service:
- Your server establishes circuits to introduction points (Tor relays that act as contact points)
- It publishes a descriptor to the distributed hash table, advertising these introduction points
- Clients fetch this descriptor, build a circuit to a rendezvous point, and relay that location through an introduction point
- Server and client meet at the rendezvous, creating an anonymous bidirectional tunnel
The server's IP address never appears in any packet—complete location anonymity.
V3 Onion Address Cryptography
Modern onion addresses (v3, introduced in 2017) look like: thehiddenwiki234abcd567efgh...xyz.onion (56 characters).
These addresses are derived from:
- Ed25519 public key of the service
- The address is a truncated hash of the public key plus checksum
- Self-authenticating: the cryptographic identity is baked into the address itself
This means no certificate authorities—you verify identity by verifying the address matches the expected public key. V3 addresses are longer than v2 but provide stronger cryptography (256-bit security vs. 80-bit).
Key Takeaway: Tor hidden services provide server anonymity through rendezvous-based connections, while v3 .onion addresses serve as self-authenticating cryptographic identifiers that prove service identity without centralized trust.