note 81671 deleted from function.md5 by joey

From: Date: Sun, 17 Jul 2011 08:40:07 +0000
Subject: note 81671 deleted from function.md5 by joey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-181607@lists.php.net to get a copy of this message
Note Submitter: karlo1 at gmail dot com ---- How to properly salt the password. This actually is very simple. <?php $pass=$_POST['pass']; $salt='i_always_take_a_sentence_or_two_and_add_some_numbers_8342394'; $salted_md5=md5($pass); ?> Now it is almost impossible to find the password using rainbow tables. Of course you shouldn't tell anyone your $salt.

« previous php.notes (#181607) next »