Login Authentication Php

   $val = "secret";
   echo "Pre-hash string: $val ";
   $hash_val = md5 ($val);
   echo "Hashed outcome: $hash_val";
?>