Fatal error: Call to undefined function: mhash() in E:\server\Apache2\htdocs\data\php.php on line 4
Code: Select all
<?php
echo("<h3> Implementing mhash </h3>");
$plain_text = "Damn why won't PHP come naturally to me!";
$encrypted_text = mhash(MHASH_CRC32, $plain_text);
echo("<p><b> Encrypted text is : </b>");
echo($encrypted_text);
?>feyd | please use the formatting tags we provide