WordPress at a glance
function is not described

hash_hmac() WP 3.2.0

Compat function to mimic hash_hmac().

  • See: _hash_hmac()

No Hooks.

Return

String/false. The hash in output determined by $raw_output. False if $algo is unknown or invalid.

Usage

hash_hmac( $algo, $data, $key, $raw_output );
$algo(string) (required)
Hash algorithm. Accepts 'md5' or 'sha1'.
$data(string) (required)
Data to be hashed.
$key(string) (required)
Secret key to use for generating the hash.
$raw_output(true/false)
Whether to output raw binary data (true), or lowercase hexits (false).
Default: false

Code of hash_hmac: wp-includes/compat.php VER 5.0.1

<?php
function hash_hmac($algo, $data, $key, $raw_output = false) {
	return _hash_hmac($algo, $data, $key, $raw_output);
}