Hash a Password
(Appendix C, Cryptography - Pg 98)
<?php
/* $password contains the password */
$salt = 'SHIFLETT';
$password_hash = md5($salt . md5($password . $salt));
/* Store password hash */
?>
<?php
/* $password contains the password */
$salt = 'SHIFLETT';
$password_hash = md5($salt . md5($password . $salt));
/* Store password hash */
?>