Re: apache md5 vs. php md5
| From: | Rasmus Lerdorf | Date: | Fri, 15 Mar 2002 05:04:22 +0000 |
| Subject: | Re: apache md5 vs. php md5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88624@lists.php.net to get a copy of this message | ||
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
> >>
>
>