[PHP] Crypt problem

2001-03-22 Thread Randy Johnson
hello I use crypt to crypt member's passwords and use the following verify "$stored_password" is the encrypted, stored password. "$password" is the plain text password you just got from the form. ## Check the passwords $encrypted_password = crypt($password,$stored_password); if ($encrypted_p

[PHP] crypt problem

2003-09-11 Thread Serge Grondin
Hi, I have a weird problem with the crypt function. If I do: It print: 12 1 aat2dQ.feSqBI $1qjC9EADQ1x6 It seem that the second password is not encrypted in MD5 but with DES. It should be in MD5 if I read the doc correctly. My PHP version is 4.3.1 and compiled on a RedHat 7.3 with the 2.4.1

[PHP] crypt problem

2003-09-11 Thread Serge Grondin
Hi, I have a weird problem with the crypt function. If I do: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Crypt problem

2001-03-22 Thread ..s.c.o.t.t.. [gts]
> Subject: [PHP] Crypt problem > > > hello > > I use crypt to crypt member's passwords and use the following verify > > > "$stored_password" is the encrypted, stored password. > > "$password" is the plain text password you just got

Re: [PHP] Crypt problem

2001-03-23 Thread Christian Reiniger
On Friday 23 March 2001 00:04, you wrote: > you dont... as far as i know, > crypt only works on <= 8 chars > it will truncate anything over 8. That's "traditional" Unix crypt. PHP's crypt() may also understand other crypt algorithms that can handle longer passwords. Check the manual. > > the pr