I make email client over IMAP protocol. To "remember" user's connection details (email, password, host, etc.) I need to store password in plain text, because otherwise I won't be able to open connection again.
Is there is a way to open IMAP connection usinng hashed password? Any other solutions are welcome.