title: Storing user token in Android
body: <p>Good day, I am currently building the Login system for an Android App (it connects to a server and retrieves a web token) and I have multiple questions on the matter:</p>
  
  <ul>
  <li>What is the preferred way for storing such token locally in Android?</li>
  <li>Is there a library that allows me to encrypt it and store it safely on SharedPrefs without needing to store separately the Key and Salt for the encryption?</li>
  <li>Is it safe to send the token from LoginActivity to AnotherActivity inside an Intent Extra?</li>
  </ul>
  
  <p>Apart, an additional question would be if it is safe to send the email/password combination from LoginActivity to LoginViewModel and finally to the DataSource (EndpointInterface, etc) by passing them as parameters to methods of such classes.</p>
  
  <p>Thanks in advance!</p>