FIPS compliant algortihm to store passwords in a database?
<p>I am looking for a FIPS -compliant hashalgortihm to store passwords in the database.
I did use the following code but still i get the error "This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms."</p>

<pre><code>        SHA1CryptoServiceProvider Testsha1 = new SHA1CryptoServiceProvider();
        byte[] hashedBytes;
        UTF8Encoding encoder = new UTF8Encoding();
        hashed = Testsha1.ComputeHash(encoder.GetBytes(strPassword));
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i &lt; hashed.Length; i++)
        {
            sbuilder.Append(hashed[i].ToString("x2"));

        }
        string Password = sb.ToString();
</code></pre>
