Home > PHP > Function > Hash > hash_hmac_file()

hash_hmac_file()

hash_hmac_file - Generate a keyed hash value using the HMAC method and the contents of a given file

Syntax

string hash_hmac_file ()

Arguments

-

Description

Version

PHP 5.1.2, PECL hash >= 1.1

Return value

Returns a string containing the calculated message digest as lowercase hexits unless raw_output is set to true in which case the raw binary representation of the message digest is returned.