Use md5 function to encrypt text : md5 « Login Authentication « PHP
- PHP
- Login Authentication
- md5
Use md5 function to encrypt text
<?php
$val = "secret";
echo "Pre-hash string: $val <br />";
$hash_val = md5 ($val);
echo "Hashed outcome: $hash_val";
?>
Related examples in the same category