I am trying to work on a machine without mhash. I don't have root access to the machine.
Is there an alternative function to mhash? Here's what I need to replace:
function hmac($key, $data)
{
return (binhex (mhash (MHASH_MD5, $data, $key)));
}
Which appears to encrypt a password before inserting it.
Thanks all.