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

Quick Questions

Discussion in 'XenForo Pre-Sales Questions' started by Seahawk, Apr 9, 2011.

  1. Seahawk

    Seahawk New Member

    I am writing a PHP script for friend for authentication. I already got info but I just need to know how the passwords are hashed and salted. Thanks in advance I couldn't find it.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    XenForo uses a salted double hash. I looked at the code and it appears to use one of two hash functions, depending on which is available:

    sha1(sha1(password) . salt)

    or:

    sha256(sha256(password) . salt)
     

Share This Page