note 20663 added to function.crypt

From: Date: Thu, 11 Apr 2002 18:55:53 +0000
Subject: note 20663 added to function.crypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-29123@lists.php.net to get a copy of this message
Adding to the notes from joao.correia@valnetsado.pt and marcin@jackowski.net above. Why qoute the salt at all. The following example worked fine for me. $salt = crypt("something"); print(crypt($user_input, $salt)."\n"); print(crypt($user_input, $salt)."\n"); Both print statements produced the exact same results using php-4.1.2 and apache_1.3.24 on RedHat 7.1. It pretty much reiterates the php provided example 1 above. -- http://www.php.net/manual/en/function.crypt.php http://master.php.net/manage/user-notes.php?action=edit+20663 http://master.php.net/manage/user-notes.php?action=delete+20663 http://master.php.net/manage/user-notes.php?action=reject+20663

« previous php.notes (#29123) next »