On 16 Mar 2001, at 10:53, Vanstaen Laurent wrote:
> Hi all,
>Do you know if the php "crypt" function really works like the unix one ??
> I mean, when I compare my password on my system (crypted with unix crypt) and my
> password crypted with php crypt, it's not the same. And the php crypt do
Salt is the first two characters in a DES-encrypted
password. It is used as a modifier to
regularly-encrypted passwords to avoid the same
encryptions for similar passwords. You must extract
the salt first for your reference password, then use
it as a salt to encrypt the password you want
compared
Hi all,
Do you know if the php "crypt" function really works like the unix one ??
I mean, when I compare my password on my system (crypted with unix crypt) and my
password crypted with php crypt, it's not the same. And the php crypt doesn't
send twice the same answer.
Laurent Vanstaen
--
P