1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Login credentials via C++ ?

Discussion in 'XenForo Development Discussions' started by Mr. Strange, Sep 11, 2014.

  1. Mr. Strange

    Mr. Strange 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:

    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?

  2. EQnoble

    EQnoble Well-Known Member

    Have you came across this post in your searches by chance yet?


Share This Page