Check a Password
(Appendix C, Cryptography - Pg 98)
<?php
$salt = 'SHIFLETT';
$password_hash = md5($salt . md5($_POST['password'] . $salt));
/* Compare password hashes */
?>
<?php
$salt = 'SHIFLETT';
$password_hash = md5($salt . md5($_POST['password'] . $salt));
/* Compare password hashes */
?>