I'm developing a wordpress plugin. In that plugin the user need to type some important login details, which I will use in a cron-job.
I will of cause like to encrypt the password, and found this useful stuff: Best way to use PHP to encrypt and decrypt passwords?
However, how should I save the key? I can't save it in a file, since all files will be replaced when the user update the plugin. And save it in the database, well - that's not exactly smart i guess.
Any suggestions?