Maybe I'm just being stupid, but whenever you type the password to gain access to a certain Wi-Fi network, how is the password sent to the router securely? Wouldn't it be easy to intercept the password and thus gain access to the network?
The wifi password is never sent to the router. The pre-shared-key is something they already both know, so all the client and AP have to do is prove to each other they know what it is.
The PSK, or password, is used to create a pairwise master key (
The AP transmits an
The client creates an
Both parties use this same info to create a
So neither party needs to actually communicate the secret across the wire.