note 39922 added to function.setcookie
| From: | php-general at lists dot php dot net | Date: | Sun, 15 Feb 2004 22:50:20 +0000 |
| Subject: | note 39922 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65183@lists.php.net to get a copy of this message | ||
The note by: "apex at xepa dot nl" on 24-Nov-2003 06:59
"Another note on storing passwords .. don't use MD5 it's too weak."
I believe that your statement is a little off there, MD5 is not an encryption. It is a hash and is
by far the hardest hash to crack. The reason you're probably saying that it's too weak is
because chances are you are using regular words as passwords[Example: banana]. Thus: It's a
snap to crack with a quick script. If you add in a script to force the user to have a certain length
of characters and must contain a certain amount of numbers, you would be fine. MD5 is very widely
available, and most people do not have access to change their PHP settings and add in modules.
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39922
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39922&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39922&report=yes
Search -- http://master.php.net/manage/user-notes.php