in reply to Need to encrypt the password in config.properties file.

What you are asking is fundamentally not possible. If the script can decrypt the password, so can anyone with access to the script, by examining the script to obtain the key.

At best, you can obfuscate the stored password. I suggest MIME::Base64 for that.

  • Comment on Re: Need to encrypt the password in config.properties file.