"wpakey passphrase | hexkey
Set the WPA key and enable WPA. The key can be given using either a passphrase or a full length hex key, starting with 0x. If a passphrase is used the nwid or join option must first be specified, since ifconfig will hash the nwid along with the passphrase to create the key."
А там кстати можно ещё в hex виде пароль указывать. А сконвертировать, например,
этим.