使用Salt Hashing + Sha
// define your encryption key
$encyption_key = 'IMHPU7GG3HI5FCMYCT354P7V8FEUPRFL'; //sample
// Appending salt to the password
$_POST['pword'] .= $encryption_key;
// then Return the SHA-1 encryption
$password = sha1($_POST['pword']);