Re: Encryption question
| From: | Jason Sheets | Date: | Sat, 11 Oct 2003 16:10:46 +0000 |
| Subject: | Re: Encryption question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165851@lists.php.net to get a copy of this message | ||
I wouldn't use crypt, instead use one of the proven more secure hashes like md5 or sha1.
For password hashing I'd use md5 (PHP 3 and 4) if you want broad support or sha1 for a little more security (sha1 hasn't been in PHP as long (only since 4.3.0) so you will lose some compatability,
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.