wp_verify_fast_hash


wp_verify_fast_hash ( $message, $hash )

Parameters:
  • (string) message The plaintext message.
  • (string) hash Hash of the message to check against.
Returns:
  • (bool) Whether the message matches the hashed message.
Defined at:

Description

Checks whether a plaintext message matches the hashed value. Used to verify values hashed via wp_fast_hash().The function uses Sodium to hash the message and compare it to the hashed value. If the hash is not a generic hash, the hash is treated as a phpass portable hash in order to provide backward compatibility for application passwords which were hashed using phpass prior to WordPress 6.8.0.

Related Functions

wp_fast_hash, wp_exif_date2ts, wp_verify_nonce, wp_list_cats, wp_get_post_cats

Top Google Results

User discussions

wpseek mobile