PHP Mhash Functions

EditRocket provides the following information on Mhash functions in the PHP source code builder.

string mhash ( int $hash , string $data [, string $key ] ) - mhash() applies a hash function specified by hash to the data.

int mhash_count ( void ) - Gets the highest available hash id.

int mhash_get_block_size ( int $hash ) - Gets the size of a block of the specified hash.

string mhash_get_hash_name ( int $hash ) - Gets the name of the specified hash.

string mhash_keygen_s2k ( int $hash , string $password , string $salt , int $bytes ) - Generates a key according to the hash given a user provided password.