Convert sha1 to md5

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
z3d0
Forum Newbie
Posts: 2
Joined: Mon Mar 31, 2008 12:20 pm

Convert sha1 to md5

Post by z3d0 »

Hi all,
I have some sha1 encrypted passwords and I need to convert them into md5 in order to import users in a bullettin board that uses this encryption. Is there any way to do it?

I googled it but I didn't find any solution... :(

Thanks
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: Convert sha1 to md5

Post by s.dot »

No. You cannot do it.

The best you can do is capture people that log in's sha1() hashed password, and then convert when you have as many people login as you can. Or, somehow edit the vbulletin to be based on md5() .. which is probably easier in concept than practice (i've never looked at vbulletin code)
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
z3d0
Forum Newbie
Posts: 2
Joined: Mon Mar 31, 2008 12:20 pm

Re: Convert sha1 to md5

Post by z3d0 »

ok thx
Post Reply