MHASH/HASH conversion help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MHASH/HASH conversion help

    Hi, i am a newbie in programming. Please how can i change this mhash code
    $authString = $secWord.":".$datePart.":".$timePart;

    $sha256 = bin2hex(mhash(MHASH_SHA256, $authString));

    return strtoupper($sha256);
    }
    to hash code. This code is from the function.php file in the liberty reserve mass payment tool. Presently, on my server if i want to make use of the tool it gives me this error.. Fatal error: Call to undefined function mhash() in /home/dollarsc/public_html/includes/LibertyReserve/functions.php on line 117.
    Please kindly help me. I think the solution is to change the mhash variables to hash variables. If you feel you know any other solution, please post it here. Thanks
Working...
X