Store an option encrypted but be able to use it. (1 post)

  1. slambert1971
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic