title: Password encryption and storing of password - Perl
body: <p>We have some scripts which uses password to login to a system. These passwords are stored in ini file and are consumed by the scripts (Perl).</p>
  
  <p>I was thinking of storing the password encrypted (not sure which package to use for now) and decrypt the same in the Perl code.</p>
  
  <p>But logically it doesn't makes sense to store the password encrypted and the decrypt logic in code.</p>
  
  <p>These files are in source control and can be accessed by most of the users.</p>
  
  <p>Wondering what could be the better way.</p>
  
  <p>I use Perl and any suggestions regarding which module I could use is welcomed :-)</p>
  
  <p>Thanks</p>
  
  <p>Karthik </p>
  
  <p>P.S. The Perl file is a scheduled script running in server and is stored in source control tool. User has no interaction to these scripts except that these can be  viewed when someone access the soruce control.</p>