Originally Posted by
djr33
That's not secure. All someone on the network would need to do is copy whatever you do send, turn off javascript in their browser, then send that value and it will act as your password. Whatever you actually send to the server IS the password, in essence, so going through a number of steps to generate it first is a waste.
That will stop weak hackers, etc., but a network admin will probably be able to get around it if it matters.
Again, think about all the websites that DON'T do this, and that now your website is javascript dependent, so people can't log on who don't use javascript.