In my ASP.NET MVC application Im not using SSL but I need to send password in encrypted form to server. I need some implementation like this:
in C# code : Generate public, private keys send the public key to client(JS code)
in JS code: encrypt the password using the public key
in C# code: decrypt the encrypted password
how to achieve this?