RE: [PHP] Basic Authentication
| From: | Boyd, Todd M. | Date: | Thu, 15 Jan 2009 15:11:22 +0000 |
| Subject: | RE: [PHP] Basic Authentication | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286430@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: tedd [mailto:tedd.sperling@gmail.com]
> Sent: Wednesday, January 14, 2009 5:18 PM
> To: Shawn McKenzie; php-general@lists.php.net
> 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.
tedd,
It would appear your Standard DES and MD5 labels are actually both MD5.
Also--there is more than just Standard DES. Once DES was determined to
be relatively IN-secure, more algorithms like Triple DES, G-DES, DES-X,
LOKI89, and ICE were created. You might be looking at a Triple DES hash.
HTH,
// Todd