php md5() function

The md5() function calculates the MD5 hash of a string.Which is used to encrypts password to make it more secure. md5() function is encrypts the password at 128-bit hash.

Demo :



Type Text  

Example :

Type Text : Hello World.


<?php
  $md5_function="hello world";
  $result=md5($md5_function);
  echo $result;
?>

The sentence will pass to the md5() function.Finally output will display "b10a8db164e0754105b7a99be72e3fe5".In the md5() function have one parameters that name is string str.

Free Download Script :

If you need md5() function demo code click and download from following link.

Download




Content