title: ASP.NET password hashing and password salt
body: <p>I'm creating a custom "add user" page in ASP.Net web forms and have hit a problem. I can insert all the data into the membership table but the passwords are stored in plain text and the password salt has been hardcoded.</p>
  
  <p>How do i go about hashing the passwords so that users can log in (as the membership framework checks for a password hash and not a clear text password). Also, is the salt completely random or is it linked to the password hash somehow? </p>
  
  <p>Any help would be greatly appreciated,</p>
  
  <p>Marc</p>