What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application stores user names and passwords in the database.

You need to ensure that the passwords are encrypted and cannot be decrypted.

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application stores user names and passwords in the database.

You need to ensure that the passwords are encrypted and cannot be decrypted.

What should you do?

A.
Encrypt passwords by using the Triple Data Encryption Standard algorithm before the passwords are stored in the database.

B.
Encrypt passwords by using the Secure Hash algorithm before the passwords are stored in the database.

C.
Create an instance of the System.Security.SecureString class to hold passwords before the passwords are stored in the database.

D.
Encrypt passwords by using the Rijndael algorithm before the passwords are stored in the database.

Explanation:
A,C,D encrypt in a way that you can decrypt only a hash is one way



Leave a Reply 0

Your email address will not be published. Required fields are marked *