Re: [PHP] apache md5 vs. php md5

2002-03-14 Thread Rasmus Lerdorf

The PHP one supports that if your OS does.

On Thu, 14 Mar 2002, David Ford wrote:

 Does anyone have a crypt() function that can use the $apr1$ prefixed
 salt that apache's htpasswd uses?

 David



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] apache md5 vs. php md5

2002-03-14 Thread David Ford

On the same box, php is generating $1$ md5 hashes properly, two char and 
$apr1$ hashes as DES. The htpassword is generating $apr1$ hashes.

Where is the gadget that needs fixed?

David

Rasmus Lerdorf wrote:

The PHP one supports that if your OS does.

On Thu, 14 Mar 2002, David Ford wrote:

Does anyone have a crypt() function that can use the $apr1$ prefixed
salt that apache's htpasswd uses?

David



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [PHP] apache md5 vs. php md5

2002-03-14 Thread Rasmus Lerdorf

Ah, PHP doesn't understand $apr1$ to be an md5 salt.  Not quite sure why
Apache's htpasswd uses that salt instead of the standard $1$

On Thu, 14 Mar 2002, David Ford wrote:

 On the same box, php is generating $1$ md5 hashes properly, two char and
 $apr1$ hashes as DES. The htpassword is generating $apr1$ hashes.

 Where is the gadget that needs fixed?

 David

 Rasmus Lerdorf wrote:

 The PHP one supports that if your OS does.
 
 On Thu, 14 Mar 2002, David Ford wrote:
 
 Does anyone have a crypt() function that can use the $apr1$ prefixed
 salt that apache's htpasswd uses?
 
 David
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php