> -----Original Message----- > From: tedd [mailto:tedd.sperling@xxxxxxxxx] > Sent: Wednesday, January 14, 2009 5:18 PM > To: Shawn McKenzie; php-general@xxxxxxxxxxxxx > Subject: Re: 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php