Re: MD5
| From: | Jamie Alessio | Date: | Mon, 13 Nov 2000 22:51:33 +0000 |
| Subject: | Re: MD5 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25050@lists.php.net to get a copy of this message | ||
> After I encrypt a string using the md5() function, how do I decrypt it back
> into the original string?
>
MD5 is one-way encryption meaning you can't decrypt it. If you store something like user's
passwords using MD5 and then want to compare what the user typed in to what is stored you
just need to compare the two MD5'd values.
- Jamie