When you connect to a Wi-Fi network and enter a password, WPA (Wi-Fi Protected Access) governs the "handshake" between your device and the router, as well as the encryption that protects your data.