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

Reply via email to