Log in

View Full Version : Password encryption in the table user


Grueneklee
01-14-2003, 11:14 AM
Hello,

I have the problem, that we must register the user from an other database. There we have generate for every user a password that we want to use in vbulletin-forum, too. How must I encrypt the password(How can I do so?).
Please help!

Jörg

Xenon
01-14-2003, 04:04 PM
you have to run this query:
UPDATE user SET password=MD5(password)

izz
02-08-2003, 04:45 PM
and how to decrypt it?

I have vb 2.8 in which password are encrypted. I stopped my forums for about one week to migrate from ubb to vb. Now migration is done but there are many users who forgot their usernames (since they mix between ubb's usernames and userids), and passwords.
I want to send each member his login information without the need to provide a link that generates a random password to them.

Is there a way in the control panel to send them their login info without the need to regenerate the passwords? Or I need to write a script to decrypt the passwords and send them to the users?

Xanthine
02-08-2003, 05:44 PM
I dont believe you are able to decrypt the passwords but I may be wrong.

Dean C
02-08-2003, 05:46 PM
I doubt if anyone will tell you either because it's a security risk :)

- miSt

Xenon
02-08-2003, 06:18 PM
@izz: i want to see you write a script to decrypt passwords....
the MD5 encryption is an undecryptable encryption, md5 is no bijectiv function and so cannot be decrypted, just hacker methods like brute force or lexican comparision can work, but it's not decryptable...

izz
02-09-2003, 03:09 AM
Thank you all..
I understand the situation now. But I have another question.

Now I want to mass email all the users their usernames and the link to regenerate their passwords.

what is the way?

Xenon
02-09-2003, 11:52 AM
you can send out an email from within your ACP to all users.
just include this link for them:
https://vborg.vbsupport.ru/member.php?s=&action=lostpw

and they can do what is needed :)