Left Quote    If at first you don't succeed, redefine success.
- Anon.    
Right Quote
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply

        Viewing Topic: md5 reversal?
  This user is offline  j03m4r13
  Subject: "md5 reversal?" Posted: @ 5:02 pm on Jul 29 2007   
Member #:
Rank: - ()
Since: 01/01/70


Just wanna ask.. is there a way to get the original text of a string which has been encrypted with md5? I'm actually referring to mySQL-PHP combo where my password field will be encrypted using md5. This is for my preparation of forget password feature of my site. So once a user forgets his password, I could send to him his password, which should be the readable form not the md5 form..


vic2x-programm m

    Viewed: 5,162 Times | Reply to This | To top
  This user is offline  misterhaan
  Subject: "re: md5 reversal?" Posted: @ 2:35 pm on Jul 31 2007    

Member #: 5
Rank: Contributor - (214)
Since: 02/11/05
Posts: 149
From: chair

md5 is a one-way function, so the only way to undo it as far as i know is to keep running md5() on guesses until you get the result you have stored. not really something you want to make your website do, so you might want to consider resetting the password to a random string and e-mailing that.

please note that the above post is likely made up in its entirety.

    Viewed: 5,146 Times | Reply to This | To top
Viewing Page: 1 of 1

1 |

You must be logged in to post on the forums. Login or Register

"" Copyright © 2002-2021; All rights lefted, all lefts righted.
Privacy Policy