wp-includes/pluggable.php:2591Gets hash of given string.
$datastring$schemestringoptional'auth'string function wp_hash( $data, $scheme = 'auth' ) { $salt = wp_salt( $scheme ); return hash_hmac( 'md5', $data, $salt ); }Introduced in 2.0.3. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$algo added.verified against sourcesrc/wp-includes/pluggable.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.