Re: [PHP] PHP 4.1 crypt()

2002-01-08 Thread Patrik Wallstrom
On Tue, 8 Jan 2002, Mike Eheler wrote: > Too late for that, too.. in addition to providing web hosting for > hundreds of sites, we are also a web development company and have 2 > major websites out there using extended php 4.1 features. > > We need STD_DES, and it appears that PHP 4.1 has switche

Re: [PHP] PHP 4.1 crypt()

2002-01-08 Thread Mike Eheler
Too late for that, too.. in addition to providing web hosting for hundreds of sites, we are also a web development company and have 2 major websites out there using extended php 4.1 features. We need STD_DES, and it appears that PHP 4.1 has switched to using MD5 by default. Thanks for your he

Re: [PHP] PHP 4.1 crypt()

2002-01-08 Thread Patrik Wallstrom
On Tue, 8 Jan 2002, Mike Eheler wrote: > It's too late for that. And I don't believe that the system's crypt() > function just magically changed at exactly the same time we upgraded to > PHP 4.1 According to the crypt() man page, crypt() can use four methods of encryption: CRYPT_STD_DES - Sta

Re: [PHP] PHP 4.1 crypt()

2002-01-08 Thread Mike Eheler
It's too late for that. And I don't believe that the system's crypt() function just magically changed at exactly the same time we upgraded to PHP 4.1 Mike Patrik Wallstrom wrote: > On Tue, 8 Jan 2002, Mike Eheler wrote: > > >>Is there any way to force PHP 4.1's crypt to generate crypt's wit

Re: [PHP] PHP 4.1 crypt()

2002-01-08 Thread Patrik Wallstrom
On Tue, 8 Jan 2002, Mike Eheler wrote: > Is there any way to force PHP 4.1's crypt to generate crypt's with > 2-letter salts? We've written some apps that do things the hack way -- > if (crypt($pass,substr($pass,0,2)) == $cryptpass) -- and changing all of > them to work the extended way is a real

[PHP] PHP 4.1 crypt()

2002-01-08 Thread Mike Eheler
Is there any way to force PHP 4.1's crypt to generate crypt's with 2-letter salts? We've written some apps that do things the hack way -- if (crypt($pass,substr($pass,0,2)) == $cryptpass) -- and changing all of them to work the extended way is a real pain the arse. That includes changing all o