Authenticating Users

Status
Not open for further replies.

JasonCox

New member
So I'm writing an application in c++ needs to check to see if a user's login credentials are valid.

I'm able to query the xf_user_authenticate.data for a given user and I get something like this:
a:1:{s:4:"hash";s:34:"$P$DJbii5ji4owDu.Sgm8k9E0.ofjeeyJ0Ó";}

My question is, how can the user's password get encrypted into the data above?

Looking online, I see that $P$ signifies that it's an MD5 hash. I thought xenForo used SHA1/256? My company must be using an old version of xenForo. All MD5 algorthims I look up don't give me anything close to what is shown above. Most just give me back 16 bytes, not 34. Are the old passwords using the salted double hash? Anything else I should know?

Thanks!
 
Status
Not open for further replies.
Back
Top Bottom