title: Encrypt user password android studio
body: <p>I am developing an android application , I use an Rest Api to send username and password in registration </p>
  
  <p>Now the data and the passwords are saved as plan text in the database</p>
  
  <p>What should I use or do the encrypt the data before sending it to the database ?</p>
  
  <p>And what is the best way?</p>
  
  <p>I am using java and phpmyadmin</p>
  
  <p>Note:</p>
  
  <p>I need to be able to decrypt the cypher text because if the user wants to sign in from different device </p>