When a WiFi password is entered into a device, such as an iOS or Roku , Where is the password stored, within the device or sent to a server somewhere, and is it encrypted ?<