note 108630 added to function.crypt

From: Date: Fri, 11 May 2012 23:35:50 +0000
Subject: note 108630 added to function.crypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-187949@lists.php.net to get a copy of this message
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. ---- Server IP: 208.69.120.55 Probable Submitter: 70.112.73.7 ---- Manual Page -- http://www.php.net/manual/en/function.crypt.php Edit -- https://master.php.net/note/edit/108630 Del: integrated -- https://master.php.net/note/delete/108630/integrated Del: useless -- https://master.php.net/note/delete/108630/useless Del: bad code -- https://master.php.net/note/delete/108630/bad+code Del: spam -- https://master.php.net/note/delete/108630/spam Del: non-english -- https://master.php.net/note/delete/108630/non-english Del: in docs -- https://master.php.net/note/delete/108630/in+docs Del: other reasons-- https://master.php.net/note/delete/108630 Reject -- https://master.php.net/note/reject/108630 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187949) next »