md5() Function:
md5() function is use to md5 hash of the string. The function is use for the security purpose.Syantax:
md5(string,raw);raw(optional): its value may b TRUE or FALSE it by default false if its value is TRUE then it mean 16 character binary value if its value is FALSE its mean 32 character hex valueExample:
<?php
$str=”Hello”;
echo md5($str);
?>
$str=”Hello”;
echo md5($str);
?>
Output:
8b1a9953c4611296a827abf8c47804d7
0 comments:
Post a Comment