Password Encryption
-
Evening…
I am currently developing a baseline plugin for WordPress 2.7, that will allow me to either update or add users from an outside source. The trick is, due to the way the plugin is being designed, the security requirements, and planned expansions of this plugin, I have run into a lack of documentation, at least that I can find regarding the WP core…
Can anyone tell me how WP encrypts it’s passwords? What I am looking to do, is add the code to my plugin, that will take an externally provided email, password, and other data, and perform the following basic steps:
- Verify that the email exists
- If email exists then decrypt the password from external source…
- Re-encrypt the password from the external to meet WP specs…
- Verify that the encrypted password now matches the one stored in the DB…
- If the two match, then update the data as specified…
- Otherwise abort, and notify user, sender, and site owner of incorrect match…
- If email doesn’t exist, then proceed to add a new user to the system…
Hopefully this makes sense, as I can’t really post too much here right now, without giving away what I am working on… I already have coded the plugin to retrieve the data from the DB, and check the email, but outside of my test system I don’t dare even put the code on my online test site for my beta testers to work with till I can also verify the password is a match for those who are only updating and linking the WP account with the external account / system. I can provide a bit more via email or private message so feel free to catch up with me that way if you need more help with what I am looking for.
The topic ‘Password Encryption’ is closed to new replies.