Re: Basic Authentication
| From: | TG | Date: | Wed, 14 Jan 2009 23:42:38 +0000 |
| Subject: | Re: Basic Authentication | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-286382@lists.php.net to get a copy of this message | ||
Could it be that you tested the correct algorithm but didn't use the correct
salt or some other permutation to receive the same encoded result?
-TG
----- Original Message -----
From: tedd <tedd.sperling@gmail.com>
To: Shawn McKenzie <nospam@mckenzies.net>, php-general@lists.php.net
Date: Wed, 14 Jan 2009 18:17:35 -0500
Subject: Re: [PHP] Basic Authentication
> At 2:19 PM -0600 1/14/09, Shawn McKenzie wrote:
> >
> >
> >As others have said, use crypt().
> >http://php.net/manual/function.crypt.php has Example #2
> >Using crypt()
> >with htpasswd.
>
>
> Thanks, but that doesn't really solve my problem.
>
> You see, I know the password and I know the encoded result -- what I
> don't know is what algorithm was used to generate the encoding.
>
> Here are all the algorithms I know of (this includes the above link
> you provided).
>
> http://webbytedd.com/bbbb/md5/index.php
>
> However, none of them match what have.
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com
> http://ancientstones.com
> http://earthstones.com