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
Mr. Tech
Forum Contributor
Posts: 205
Joined: Tue Feb 11, 2003 4:18 pm
Location: Australia

md5

Post by Mr. Tech »

Is there away to reverse the function:

md5($password);

Lets say $password was Ben. If I wanted to retreive that password if I lose it, can I change it back to Ben so i can see it?

Thanks.
[]InTeR[]
Forum Regular
Posts: 416
Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands

Post by []InTeR[] »

md5 -- Calculate the md5 hash of a string.

I don't think so.

RFC1321 is the The MD5 Message-Digest Algorithm
JPlush76
Forum Regular
Posts: 819
Joined: Thu Aug 01, 2002 5:42 pm
Location: Los Angeles, CA
Contact:

Post by JPlush76 »

nope, hash cann't be reversed.. encryption can.

md5 can only be compared against another md5 string to see if they match.
Post Reply