Maison > Article > développement back-end > Comment WordPress sécurise-t-il les mots de passe des utilisateurs ?
WordPress is renowned for its robust password hashing mechanism to safeguard user credentials. Let's delve into the specific type of hash WordPress employs.
Traditionally, WordPress password hasher relied on the MD5 algorithm. However, advancements in security prompted a shift to a more secure framework.
WordPress now leverages the Portable PHP password hashing framework, a widely adopted tool in Content Management Systems. This framework incorporates various algorithms tailored to password hashing.
An example of a WordPress hash, as provided in the question, is as follows:
$P$Bp.ZDNMM98mGNxCtHSkc1DqdRPXeoR.
The Portable PHP password hashing framework offers a range of encryption schemes for password hashing. The scheme used in the example hash is denoted by the first three characters, "$P$B". This corresponds to the Blowfish algorithm, an established and secure encryption scheme.
The remaining characters in the hash represent the encrypted password and a salt, a unique string added to the password to enhance security.
You can generate hashes using the Blowfish encryption scheme at resources like http://scriptserver.mainframe8.com/wordpress_password_hasher.php.
Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!