Can someone please give a simple description of the process that happens when I go to an onion website in Tor? I.e.how many computer send what signals in what order. Also, what would happen if an .onion TLD was created theoretically? Would the only the Tor websites be accessible through Tor, or would the "official" websites only show,or neither, or both?
Whenever you connect to Tor, you get assigned a direction under the
When someone else within the network search for your pseudo hostname, it ask for the hashes that has registered such key and it routes your packages to there. There is no "central" repository of all the keys because the obvious structure of how tor is made of, so no DNS but a bunch of routers until the information reach the destination node.
I tried to simplify terms, if something is not clear please comment.
The official Tor Hidden Service Protocol document explains things rather well, but you may not know where the browser is involved. Below contains some exceprts from this document
Here's what happens: