Switching from custom system

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kaitlyn2004
    Senior Member
    • Jul 2006
    • 137

    Switching from custom system

    Alright...

    I currently have a member system that I want to change and use the vBulletin user system for instead... so usernames are seamless between accounts/forum accounts.

    My problem is, my passwords are MD5 encrypted and I believe vBulletin's algorithm is something like md5(md5(pass . salt))

    Does anyone have any suggestions to ease in the migration of my current userbase?
    AskItOnline.com - Need answers? Ask it online.
    Create powerful online surveys with ease in minutes!
    Sign up for your FREE account today!
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Not quite. It is:

    md5(md5(pass) . salt)

    You can import your existing passwords by salting the hash and hashing again. If your current userbase is from a common forum program then you might be able to use ImpEx. Otherwise this would be a custom import.

    Comment

    • njkhatri
      Member
      • Jul 2004
      • 77

      #3
      I understand that the password is the string user entered during the authentication.

      However, how do you get the salt?

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        You need to generate the salt. vBulletin and ImpEx does this automatically.

        Comment

        • njkhatri
          Member
          • Jul 2004
          • 77

          #5
          How do you generate the salt?

          I am investigating the possibility of using the vBulletin user registrations for my custom application that will be written in Java.

          For that I need to do whatever vBulletin does for the encrypton.
          md5(md5(pass).salt)

          Obviously, I am not looking for Java help here. But I need to know how vBulletin generates the salt so that I can do the same thing so that my system can authenticate the users against vBulletin users.

          Before I write a first line of code to do this, I would need to know the mechanism/algorithm for this.

          Comment

          • Cool Matty
            Senior Member
            • Jul 2006
            • 101
            • 3.7.x

            #6
            It is randomly generated and stored in the user's table on the database, right next to their hashed hash+salt password. Once their salt is generated upon registration you can just grab the salt value from the database.

            Comment

            • Jake Bunce
              Senior Member
              • Dec 2000
              • 46598
              • 3.6.x

              #7
              That gets into custom code. www.vbulletin.org is the best place for help with this.

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎