md5.php : md5 « Utility Function « PHP






md5.php

 
<?php
   $val = "secret";
   $hash_val = md5 ($val);
   echo $hash_val;
?>
  
  








Related examples in the same category

1.Checking for session hijacking
2.string md5 ( string str [, bool raw_output] )
3.string md5 ( string str [, bool raw_output] ) produces a data checksum in exactly the same way as sha1( );
4.Creating an md5 signature
5.PHP's basic md5() function
6.The protect() MD5 Form Fingerprint Generator
7.Insert a unique ID into a form