note 50672 added to function.md5
| From: | gigabyte0 at NOSPAM dot gmail dot com | Date: | Sun, 06 Mar 2005 19:22:12 +0000 |
| Subject: | note 50672 added to function.md5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86005@lists.php.net to get a copy of this message | ||
I would think that this would create a slightly mode secure hash by using this:
<?php
function hash($text){
$hashtext = "string";
return md5($text.$hashtext)
}
?>
If you can keep the $hashtext secure.
----
Manual Page -- http://www.php.net/manual/en/function.md5.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50672
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50672&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50672&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50672&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50672&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50672&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50672&report=yes
Search -- http://master.php.net/manage/user-notes.php