What is the maximum character length permitted in the mobile app for a WiFi (WPA2) password?

iOS maximum is 32 characters. Android maximum is 64 characters. There are no character restrictions pertaining to the WiFi password that is entered.