Re: hash issues

From: Date: Thu, 24 Feb 2005 04:49:15 +0000
Subject: Re: hash issues
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-209313@lists.php.net to get a copy of this message
On Wednesday 23 February 2005 10:25, Erbacher Karl wrote: > Here's my big problem... I created three seperate sample users with > three different passwords (password1, password2, password3). When I go > back to look at the table info in the database, it shows that all three > of the passwords are exactly the same. I'm not sure why this is > happening. I strongly suspect you're hashing an empty string. echo "password [$password]"; $pass=bin2hex(mhash(MHASH_SHA1, $password)); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ New Year Resolution: Ignore top posted posts

« previous php.general (#209313) next »