title: Preferred recoverable method to store passwords in database
body: <p>I want to store some passwords on my database at server.</p>
  
  <p>The passwords should be recoverable, since I want to use them for a third-party api which needs the password. (So I can't use one-way methods like md5...)</p>
  
  <p>What is the best method to save passwords in database? Isn't there any better way than storing plain text?</p>