Hello all
I hunted around and I thought... if I were to use this code to hash my password the way I need, would it work?
<?php
function MD4Hash($_POST["password"]) {
// Convert the password from UTF8 to UTF16 (little endian)
$_POST["password"]=iconv('UTF-8','UTF-16LE',$_POST["password"]);
// Encrypt it with the MD4 hash
$MD4Hash=bin2hex(mhash(MHASH_MD4,$_POST["password"]));
// Return the result
return($MD4Hash);
}
?>
Also, how would I then move on to use the $MD4Hash as a variable inside of my edited file later on?