Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > md5 ha****ng of...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3045 of 3175
Post > Topic >>

md5 ha****ng of user passwords

by gjwalsh@[EMAIL PROTECTED] ("G. J. Walsh") Mar 24, 2008 at 06:43 PM

At registration, a user's password is encrypted by php's md5 and stored
in a client login table.

On login, the client's password as provided in a login form, is run
through md5 ha****ng and submitted to the server for authentication.
Pretty standard stuff!

BUT authentication always fails.

To get a grip on this, I set up a record with a specific password. For
some reason I cannot understand, the md5 hash written into postgresql
does not correspond with the echoing back of the hash at login attempts.

In both instances, the ha****ng is consistent.

The login is performed under ssl. Changing it to run under http makes no
difference - the ha****ng remains the same.

The data base provides a character varying(32) column for the hashed
password.

Can someone help me out of this morass???

Much appreciated!

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 1 Posts in Topic:
md5 ha****ng of user passwords
gjwalsh@[EMAIL PROTECTED]  2008-03-24 18:43:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 20 4:39:27 CDT 2008.