You are creating an ASP.NET application by using the .NET Framework 3.5.
The application will use ASP.NET Forms authentication. Authentication information will be stored
in a Microsoft SQL Server 2008 database instance.
You need to ensure that passwords are stored by using a non-reversible technique. You also need to ensure that stored passwords are as secure as possible.
What should you do?
A.
Encrypt the password by using the RC2 algorithm.
Store password in the database.
B.
Encrypt the password by using the 3DES algorithm.
Store password in the database.
C.
Generate a random Salt value.
Hash the password by using the SHA1 algorithm.
Store the password in the database.
D.
Generate a Salt value by using a known value.
Hash the password by using the SHA256 algorithm.
Store password in the database.