title: C# PasswordDeriveBytes Confusion
body: <p>I have following code in C#</p>
  
  <pre><code>PasswordDeriveBytes DerivedPassword = new PasswordDeriveBytes(Password, SaltValueBytes, HashAlgorithm, PasswordIterations);
  byte[] KeyBytes = DerivedPassword.GetBytes(32);
  </code></pre>
  
  <p>I am using "SHA1" hashing algorithm.</p>
  
  <p>According to SHA1 definition, its generate 160 bits (20 bytes) key. My question is how GetBytes method get 32 bytes from DerivedPassword, what algorithm used behind GetBytes method?</p>