I am teaching Anonymous Networks in a Cybersecurity class. I am understanding (what I think) is a good deal about the process TORproject uses for its network by using this as a guide.
My model of the process is that as an 'onion' travels down the circuit, the number of scramblings of the message is reduced by 1 each time. The scrambled message needs some unscrambled part to know where to send next. The information at the entry node would be larger in size than the exit node because the message at the exit node has fewer instructions about how to get to its destination.
My question is:
Can the distance along the circuit be determined by the size of the encrypted message? OR Can the key be deduced by having consistent information (perhaps metadata headers??) about the destination?