hash_final()
hash_final - Finalize an incremental hash and return resulting digest
Syntax
string hash_final (
resource $context,
bool $raw_output)
Arguments
- context - Hashing context returned by hash_init().
- raw_output - When set to TRUE, outputs raw binary data. FALSE outputs lowercase hexits.
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.