It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

how to retrieve password which is stored using md5 function

Moderator: Malcolm

how to retrieve password which is stored using md5 function

Postby jeephp on Sat May 14, 2005 3:25 pm

"I am using secure md5 to generate a password.
In case my user forgets his password, there is any way to reconstruct it."
Ranjana
jeephp
 
Posts: 14
Joined: Sat Apr 23, 2005 10:42 am

Postby webmaster on Sat May 14, 2005 7:26 pm

I don't think there is, but you can let the user replace the password with a new one.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Malcolm on Mon May 16, 2005 12:28 am

No, its impossible to take an md5 hash and get the original value.

Imagine a 500 page novel, now from every 50 pages take one random character. Can you reconstruct the whole book with those 100 characters?

Same thing with md5 hashes.
Image
User avatar
Malcolm
100+ Club
 
Posts: 198
Joined: Thu Oct 07, 2004 9:53 pm
Location: Ontario, Canada

Postby Phate on Mon May 16, 2005 1:25 am

( it would be 10 characters )
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1


Who is online

Users browsing this forum: No registered users and 0 guests