Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 MD5 password decrypt

Author  Topic 

nto
Starting Member

12 Posts

Posted - 2009-07-16 : 21:43:39
Hi Guys,

i have database with username and encrpty MD5 password.
Is there anyway i can decrypt the password?
because i have tried to reset the password but the user still cant login, i just want to know what is the real password.

Thanks,

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-07-18 : 16:33:45
MD5 is a hashing function and not a encyption function.
And as such, there is no way to restore original message.


N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-07-18 : 17:17:11
You can reverse md5 hash!
But:
If you reset a password to for example 'resetpwd' then you have to store it using md5.
The user uses then 'resetpwd' and the app uses md5 to compare with password stored in db.
So what is the problem with resetting?


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-07-18 : 17:31:19
quote:
Recently, a number of projects have created MD5 rainbow tables which are easily accessible online, and can be used to reverse many MD5 hashes into strings that collide with the original input, usually for the purposes of password cracking. However, if passwords are combined with a salt before the MD5 digest is generated, rainbow tables become much less useful.



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page
   

- Advertisement -