Ajax Login: Password Encryption [closed]
I am using jQuery Ajax to login a user. Right now, I use JS to grab the values from the username and password textboxes and send them to a aspx page which checks the credentials. It then returns JSON letting the user know if they are logged in or not. Everything works well, but I noticed while using Firebug that the password was being sent in plain text. What is the best way to encrypt the password? (BTW, I am not on a HTTPS server) Bcrypt could be your friend. And there is also an implementation in Javascript named jsBCrypt . I highly recommend reading this insightful article: Storing