WPA3-Personal replaced WPA2's password-derived key with a Diffie-Hellman exchange called SAE. See how Diffie-Hellman works with small numbers, how each version gets its key, and what that changes when a password leaks or someone tries to guess it.
Every Wi-Fi connection ends with the client and the AP holding the same secret key, which CCMP or GCMP then use to encrypt each frame. The question is how they arrive at that key. In WPA2-Personal it is calculated directly from the password and the network name, so it is the same every time and for everyone. In WPA3-Personal it comes out of a fresh Diffie-Hellman exchange (SAE, "Simultaneous Authentication of Equals") that only works if both sides know the password, and it is different for every connection.
Two sides agree on a shared secret while everything they send can be overheard. Step through the exchange and watch what the listener in the middle collects. Both use the public numbers p = 23 and g = 5. Each picks a private number and sends only gprivate mod p. Real Wi-Fi uses elliptic curves with 256- to 521-bit numbers (usually 256); the idea is the same.
Step through both handshakes, then press Connect again a few times and watch the PMK (the master key both sides end up with). The WPA2 PMK is calculated in your browser with the real formula; the WPA3 one is shown as a random stand-in, because it depends on random numbers thrown away after each exchange. Nothing you type leaves your browser, but use a made-up password anyway.
Pick a situation to see what each version protects.
On a network with no password, the client and AP do a Diffie-Hellman exchange while associating, so each device gets its own encryption key. Passive listeners see nothing useful.
Nothing proves who the AP is, so it doesn't stop a fake AP with the same name. Required instead of plain open networks on 6 GHz.
EAP-TLS, PEAP and EAP-TTLS run a TLS handshake between the client and the RADIUS server. With ECDHE cipher suites (always, in TLS 1.3) the key the AP receives has forward secrecy, and every user gets their own keys.
WPA3-Enterprise 192-bit mode requires ECDHE on the P-384 curve (or 3072-bit DHE), with GCMP-256.
Easy Connect adds devices by scanning a QR code: it uses elliptic-curve Diffie-Hellman to authenticate the device and set up its credentials, with no shared password.
FILS (802.11ai, fast initial link setup) can add an optional Diffie-Hellman exchange for forward secrecy.
| WPA2-Personal | WPA3-Personal | Enhanced Open (OWE) | WPA2/WPA3-Enterprise | |
|---|---|---|---|---|
| How the key is agreed | Calculated from password and SSID (PBKDF2), then the 4-way handshake | SAE: password-authenticated elliptic-curve Diffie-Hellman, then the 4-way handshake | Unauthenticated elliptic-curve Diffie-Hellman | TLS inside EAP, usually with (EC)DHE |
| Forward secrecy | No | Yes | Yes | Yes, with (EC)DHE |
| Offline password guessing | Possible | Not possible: one guess per live exchange | No password | Depends on the EAP method; none with certificates (EAP-TLS) |
| Separate keys per connection | Different session keys, but anyone with the password can work them out | Yes | Yes | Yes, per user |
| Proves the AP is genuine | Only that it knows the password | Only that it knows the password | No | Yes, with server certificate validation |
| Protected Management Frames | Optional | Required | Required | Required in WPA3 |
| Where required | Not allowed on 6 GHz | 6 GHz (with H2E); devices must support it for Wi-Fi CERTIFIED 6 and later | Open networks on 6 GHz | Organisations with user accounts |