• Resolved clinton4

    (@clinton4)


    Hi,

    I’am trying to make a custom registration, login and lost password page to work beside my wordpress blogg. These pages wil be completely separated from the wordpress script, but the registration data should be stored in the table wp_users. I therefor need to encrypt the password just like the wordpress script nomaly do it. You know, like this -> $P$BXqS.62ig7hebKg4NoNpSw.wjBY6gv1

    So my question is, in which file can i find the encryption function that wordpress uses? Or how can i encrypt the users password so it would be compatible with the wordpress system?

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Look at the wp_hash_password function in WordPress.

    Basically, it uses the PHPass library to hash the password.

Viewing 1 replies (of 1 total)
  • The topic ‘How to encrypt a password like wordpress does?’ is closed to new replies.