PHP.nl

mhash_get_hash_name

mhash_get_hash_name

Gets the name of the specified hash

 **mhash_get_hash_name** int $algo

Gets the name of the specified . algo

algo The hash ID. One of the constants. MHASH_hashname

Returns the name of the hash or false, if the hash does not exist.

Voorbeeld: Example

<?php

echo mhash_get_hash_name(MHASH_MD5); // MD5

?>