Support » Plugins » Store an option encrypted but be able to use it.

  • Hello all. I have a plugin I am creating that will need to store a password for a database connection. I need to allow the user to set this password, along with other connection information, but I can not have it stored in the database as raw text – it needs to be encrypted. I also need to be able un-encrypt it to use for the database connection, which will likely NOT be in the same database, and perhaps not even on the same server, as the WordPress install. Are there any functions / plugins for WordPress that will allow me to do this, or will I need to write my own encryption/decryption routine?

  • The topic ‘Store an option encrypted but be able to use it.’ is closed to new replies.