md5($str) Hash encryption for string
Examples
*/
$str="hello world"; //Define string
$result=md5($str); //Perform encryption operation
echo $result; //Output the converted result
//md5_file( $filepath) Hash-encrypts the file content
$file="test.txt"; //Definition file
$result=md5_file($file); //Perform calculation operation
echo $result; //Output the calculated result
/*
The md5_file() function calculates the md5 hash of a file.
The md5() function uses rsa data security, including the md5 message digest algorithm.
Returns the calculated md5 hash if successful, false if failed.