mhash

(PHP3 >= 3.0.9, PHP4 )

mhash -- Compute hash

Description

string mhash (int hash, string data)

Mhash() applies a hash function specified by hash to the data and returns the resulting hash (also called digest).