title: MD5 hash with salt for keeping password in DB in C#
body: <p>Could you please advise me some easy algorithm for hashing user password by MD5, but with <strong>salt</strong> for increasing reliability.</p>
  
  <p>Now I have this one:</p>
  
  <pre><code>private static string GenerateHash(string value)
  {
      var data = System.Text.Encoding.ASCII.GetBytes(value);
      data = System.Security.Cryptography.MD5.Create().ComputeHash(data);
      return Convert.ToBase64String(data);
  }
  </code></pre>