News for hackers. Stuff that matters.
Re:Why you shoud never use your favorite password on News.YC... by mfenniak on Sunday June 01, 2008 @11:23AM (#205905)
The downside to this is that it requires the server to store the password unencrypted and unhashed. The server must have access to the original password to hash with the random number for comparison. In my opinion, this wouldn't be an improvement in the overall security of the system.

Avoid sending a plaintext password by using HTTPS. It's the easiest way.

Re:Why you shoud never use your favorite password on News.YC... by hsiung on Sunday June 01, 2008 @12:34PM (#205963)
You store the password hashed with a salt in the database (just keep track of the salt you used). The server can send the salt to the client, in addition to the random number. So the client is performing two hashes: md5(md5(password+salt)+random_token).