mhash_get_hash_name

mhash_get_hash_name -- Retourne le nom du hash.

Description

string mhash_get_hash_name ( int hash)

mhash_get_hash_name( ) sert à connaître le nom d 'un hash .

mhash_get_hash_name( ) prend un numero d'identifiant de hash , et retourne son nom , ou bien FALSE si le hash n 'existe pas , ou si une erreur est survenue .

Exemple 1 . exemple mhash_get_hash_name( )

 
?php

 
$hash

 
=

 
MHASH_MD5

 
;

 
print

 
mhash_get_hash_name($hash)

 
;

 
?



L'exemple ci-dessus va afficher : MD5