title: Hash password with random salt using JavaScript and validate from C#
body: <p>I want to make password maintain process strong for an asp.net web application. Please validate my idea if it is workable. If yes then please suggest sample code or links to implement. Otherwise suggest how can I send password securely from browser to server and store in hash.</p>
  
  <p><strong>Note:</strong> I am using TLS (SSL) already for security.</p>
  
  <p><strong>Steps:</strong></p>
  
  <ol>
  <li>While registering user, hash user password with random salt from
  JavaScript in Client browser. </li>
  <li>Submit form. </li>
  <li>Server side code will store the hash in database. </li>
  <li>When user try to login, hash user password with random salt from JavaScript in Client browser.</li>
  <li>Submit form. </li>
  <li>Validate database stored hash with login password
  hash. (I am thinking both hash will be different due to random salt
  but verification function will be able to compare it)</li>
  </ol>