R
R
Roman Polyansky2016-08-09 06:45:05
Encryption
Roman Polyansky, 2016-08-09 06:45:05

How to read wordpress user password by third party application?

I am writing a separate site for a project on Wordpress (closely related) and I need users from the database vp ..
More precisely .. Where is the salt and how are wp passwords encrypted?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2016-08-09
@RinWorld

WordPress does not use primitive MD5 . phpass is used to hash passwords . See class-phpass.php file.
When creating a password, the wp_set_password() function is called, which calls wp_hash_password(). She hashes it with phpass and returns it, then wp_set_password() writes the hash to the database. Everything you need is in the file mentioned above. Salts are in wp-config.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question