note 108630 deleted from function.crypt by joey

From: Date: Sat, 19 May 2012 20:35:13 +0000
Subject: note 108630 deleted from function.crypt by joey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188076@lists.php.net to get a copy of this message
Note Submitter: sc1n at yahoo dot com ---- If you are looking to hash passwords so users can login to a web interface, you probably want the function hash() function http://us.php.net/manual/en/function.hash.php with something like SHA256 or SHA512 for good security. This crypt function is a relic of old style Unix password authentication and does weird stuff like prepend the salt to the hash, which isn't very handy.

« previous php.notes (#188076) next »