title: System.Security.Cryptography.KeyDerivation not being recognized in VS Community 2015 ver. 14.0.2
body: <p>For the life of me I cannot get Cryptography.KeyDerivation to be recognized in a template ASP.NET MVC application that has nothing changed. I have looked around and some show</p>
  
  <p>using Microsoft.AspNetCore.Cryptography.KeyDerivation; </p>
  
  <p>-or-</p>
  
  <p>using Microsoft.AspNet.Cryptography.KeyDerivation;</p>
  
  <p>-but even-</p>
  
  <p>using System.Security.Cryptography.KeyDerivation; is not listed @</p>
  
  <p><a href="https://msdn.microsoft.com/en-us/library/system.security.cryptography%28v=vs.110%29.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/system.security.cryptography%28v=vs.110%29.aspx</a></p>
  
  <p>I would like to take the code, which I found online to override the default version of PasswordHasher which uses HMACSHA1 and use HMACSHA526 instead, of:</p>
  
  <pre><code>string hashed = Convert.ToBase64String(KeyDerivation.Pbkdf2(
          password: password,
          salt: salt,
          prf: KeyDerivationPrf.HMACSHA1,
          iterationCount: 10000,
          numBytesRequested: 256 / 8)); 
  </code></pre>
  
  <p>and use a prf of HMACSHA512 for the override of the base class of PasswordHasher which only has one constructor with the password to be passed in.</p>
  
  <p>One last question once this accomplished instead of making a separate override class could I not just stick the code within ApplicationUserManager, here?</p>
  
  <pre><code>public ApplicationUserManager(IUserStore&lt;ApplicationUser&gt; store) : base(store) 
  {
      //code here
  }
  </code></pre>