Set WPA passphrase for a SSID
wpa_passphrase [ssid] [passphrase]
Neutrino
The wpa_passphrase utility precomputes PSK entries for network configuration blocks of a wpa_supplicant.conf file.
WiFi Configuration Using WPA and WEP in the Core Networking User's Guide