I tried this:
C#
Convert.ToBase64String(
MD5.Create().ComputeHash(
Encoding.Default.GetBytes($"SALTstring{PasswordBox.Text}")
)
);
PHP
$salt = "SALTstring";
$pass = "password";
$suma = $salt . $pass;
*$final = unpack("H*",$suma);*
$junto = implode($final);
$hashed = hash('md5', $junto);
echo $tu = base64_encode($hashed);
The result is different in the procedures
EDIT
There were some tweaks:
$final = unpack("H*",$suma); >>> $final = unpack("a*",$suma);
$hashed = hash('md5', $junto); >>> echo base64_encode(md5($junto, true))