note 111754 added to function.crypt

From: Date: Mon, 25 Mar 2013 16:35:10 +0000
Subject: note 111754 added to function.crypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-194197@lists.php.net to get a copy of this message
It's a bit confusing, to me, where as it says: MD5 hashing with a twelve character salt starting with $1$ SHA-256 hash with a sixteen character salt prefixed with $5$ Does "prefixed" mean "starting with" as for MD5, or does it mean "$5$ followed by sixteen characters?", like this one: Blowfish hashing with a salt as follows: "$2a$", a two digit cost parameter, "$", and 22 digits... I am going to go with "followed by" (for a total of 19 characters in the string for SHA) and that does work. ---- Server IP: 69.147.83.199 Probable Submitter: 24.60.223.242 ---- Manual Page -- http://php.net/manual/en/function.crypt.php Edit -- https://master.php.net/note/edit/111754 Del: integrated -- https://master.php.net/note/delete/111754/integrated Del: useless -- https://master.php.net/note/delete/111754/useless Del: bad code -- https://master.php.net/note/delete/111754/bad+code Del: spam -- https://master.php.net/note/delete/111754/spam Del: non-english -- https://master.php.net/note/delete/111754/non-english Del: in docs -- https://master.php.net/note/delete/111754/in+docs Del: other reasons-- https://master.php.net/note/delete/111754 Reject -- https://master.php.net/note/reject/111754 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#194197) next »