http://opsec3u4qp6dpif5ckkerqxyrovdyk2zsk3pam5f65nlqor2lurkwzyd.onion/guide/about-tor/how-tor-works/clearnet-websites
To understand this part you should have at least some basic knowledge of TCP , TLS , DH , RSA , AES , SHA and so on. Read this part again or ask me a question if you didn't got something. Let's consider a connecting to some entry guard. TCP (Transmission Control Protocol) It is important to see the big picture, so i decided to explain TCP handshakes as the first phase towards establishing a secure connection.