Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,538 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,781 people online right now. Registration is fast and FREE... Join Now!




MD5 encryption and lost password

 
Reply to this topicStart new topic

MD5 encryption and lost password

IceX
22 Aug, 2008 - 01:16 AM
Post #1

New D.I.C Head
*

Joined: 17 Apr, 2008
Posts: 17

Hi all i have done a MD5 encryption and is successful and users can log in .

However if the user request for lost password and in my database shows the encrypted password using MD5 , is there any way to "decrypt" the password for users requestingg for lost password ? as MD5 is a one way encryption ...
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: MD5 Encryption And Lost Password
22 Aug, 2008 - 01:26 AM
Post #2

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,465



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
Decrypting the password could be seen as unsecure. As well, I'm sure that such a method does exist, however I don't know of any way to do so. It's easier to simply reset the existing password with a random string & number sequence, & then email that to the user by way of the registered email address.
User is online!Profile CardPM
+Quote Post

IceX
RE: MD5 Encryption And Lost Password
26 Aug, 2008 - 10:38 PM
Post #3

New D.I.C Head
*

Joined: 17 Apr, 2008
Posts: 17

QUOTE(no2pencil @ 22 Aug, 2008 - 02:26 AM) *

Decrypting the password could be seen as unsecure. As well, I'm sure that such a method does exist, however I don't know of any way to do so. It's easier to simply reset the existing password with a random string & number sequence, & then email that to the user by way of the registered email address.



hmmm i changed the way it works by resetting the password instead of showing the password directly from the database . thanks
User is offlineProfile CardPM
+Quote Post

thor78
RE: MD5 Encryption And Lost Password
26 Aug, 2008 - 11:19 PM
Post #4

D.I.C Head
Group Icon

Joined: 6 May, 2008
Posts: 106


Dream Kudos: 50
My Contributions
Some encryption methods do not allow you to decrypt back to clear text. And yeah, resetting is the best practice.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 10:24PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month