http://opsec3u4qp6dpif5ckkerqxyrovdyk2zsk3pam5f65nlqor2lurkwzyd.onion/guide/about-tor/how-tor-works/clearnet-websites
Read the article about DH to better understand the general idea of the original algorithm before reading about ECDH . Here is how ECDH works: # client x , X = KEYGEN () # x is private , X is public # server y , Y = KEYGEN () # y is private , Y is public # client ---X-- > server # client < --Y--- server # client calculates xY = Curve25519 ( x , Y ) # server calculates yX = Curve25519 ( y , X ) # the client and the server # now have the same key S = xY = yX...