Re: [PHP-DB] Unix crypt

2001-03-16 Thread fabrizio . ermini
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

Re: [PHP-DB] Unix crypt

2001-03-16 Thread omar cromwell mercado
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

[PHP-DB] Unix crypt

2001-03-16 Thread Vanstaen Laurent
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