wp_fast_hash


wp_fast_hash ( $message )

Parameters:
  • (string) message The message to hash.
Returns:
  • (string) The hash of the message.
Defined at:

Description

Returns a cryptographically secure hash of a message using a fast generic hash function.Use the wp_verify_fast_hash() function to verify the hash. This function does not salt the value prior to being hashed, therefore input to this function must originate from a random generator with sufficiently high entropy, preferably greater than 128 bits. This function is used internally in WordPress to hash security keys and application passwords which are generated with high entropy. Important: - This function must not be used for hashing user-generated passwords. Use wp_hash_password() for that. - This function must not be used for hashing other low-entropy input. Use wp_hash() for that. The BLAKE2b algorithm is used by Sodium to hash the message.

Related Functions

wp_verify_fast_hash, wp_hash, wp_slash, wp_list_cats, wp_add_post_tags

Top Google Results

User discussions

wpseek mobile