note 82167 deleted from function.md5 by joey
| From: | joey@php.net | Date: | Sun, 17 Jul 2011 08:39:57 +0000 |
| Subject: | note 82167 deleted from function.md5 by joey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181606@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
so that nobody gets confused by karlo1 at gmail's remarks, salting is simply the inclusion of
additional characters, like so:
<?php
$salt = 'random_stuff_12345';
$hash = md5 ($pass . $salt);
?>