Re: Encryption question
| From: | Brad Pauly | Date: | Sat, 11 Oct 2003 02:43:28 +0000 |
| Subject: | Re: Encryption question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165826@lists.php.net to get a copy of this message | ||
On Fri, 2003-10-10 at 20:31, Ryan Thompson wrote:
> I know this is an opinion thing but what's the best functions or function set
> for password encryption?
>
> Currently my project uses md5 but I thinks it's more for checksums isn't it?
> Also, is mcrypt used for passwords? I looks like it's a two-way encryption.
md5 is a one-way hash function. It is great for passwords. (I'm not sure
if that technically qualifies as encryption because it is nearly
impossible to decrypt..hmm) Anyway, I would recommend using it.
- Brad