Onion routing is a technique used to make anonymous browsing more secure. It utilizes nodes acting as
For explanation purposes, we assume that a node is communicating with a server that does not involve encryption. So the packet will only be encrypted with the symmetric keys of the nodes in the crowd.
The procedure followed for sending a packet over the internet with onion routing implemented is as follows:
Below is the illustration of a packet's one-way travel (from source to destination):
Initially, the client node encrypts the packet in shared symmetric keys of the nodes.
The packet is sent over to the first node in the circuit, which decrypts the first layer of encryption using its shared symmetric key and sends it over to the next node. This process repeats until the packet is delivered to its destination.
The following is the procedure the nodes follow while sending the packet back into the circuit:
The browser implements onion routing as a protocol and ensures at least three hops per packet before it reaches its destination to ensure the privacy of the person using the browser.