Legend & Notes
• TLS (blue dashed): Provides authentication & confidentiality per hop (RSA handshake, AES bulk encryption, SHA integrity, DH for PFS).
• Onion Layers (orange): Client encrypts data three times with AES (Exit→Middle→Entry keys); each relay decrypts one layer.
• SHA (brown): Ensures integrity for Tor cells and key derivation (KDF).
• Privacy: No relay knows both sender and receiver. Exit sees plaintext only for HTTP traffic.
• Limitation: Global adversaries may attempt traffic correlation; Tor mitigates but cannot fully prevent timing analysis.