vbulletin password encryption

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • existem
    Member
    • Jan 2005
    • 38

    vbulletin password encryption

    Hi,

    Can anyone tell me what encryption is used for the password field in vbulletin? I am writing a little script to import all our users and need to work out how I can import them into the vbulletin database.

    Also does anyone have a suggestion how we can decrypt an MD5 hash (as used in phpbb) and re encypt as a native vbulletin login?

    Thanks,
    Tom
  • Kier
    Former Lead Developer, vBulletin
    • Sep 2000
    • 8179

    #2
    It's important to note that MD5 and SHA1 are not encryption schemes, they are hashing algorithms. As such, they cannot be decrypted and the hash does not include the original data.

    To answer your question, vBulletin passwords are stored in the following format:

    Code:
    $password_hash = md5(md5($password_text) . $user_salt);
    $user_salt is a random three character string stored in the user table as 'salt'.

    Comment

    • Jerry
      Senior Member
      • Dec 2002
      • 9137
      • 1.1.x

      #3
      I wrote ImpEx.

      Blog | Me

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...