title: Encrypt Password in Configuration Files?
body: <p>I have a program that reads server information from a configuration file and would like to encrypt the password in that configuration that can be read by my program and decrypted.</p>
  
  <p>Requirments:</p>
  
  <ul>
  <li>Encrypt plaintext password to be stored in the file</li>
  <li>Decrypt the encrypted password read in from the file from my program</li>
  </ul>
  
  <p>Any reccomendations on how i would go about doing this? I was thinking of writing my own algorithm but i feel it would be terribly insecure.</p>