what do machine key element in configuration file specify?



what do machine key element in configuration file specify?..

Answer / karthika.s

Machine key element in configuration file configures keys to
use for encryption and decryption of forms, authentication
cookie data and view-state data, and for verification of
out-of-process session state identification.

The validation key should be in the range of 20 to 64.
Decryption key—8 or 24. Between SHA1 and MD5 algorithms used
for validation SHA1 produces a longer key and is therefore
recommended. The tool creates an 8-byte key for the Data
Encryption Algorythm (DES) and a 24-byte one for Triple-DES
(3DES).

Once keys are generated they are converted into a string of
hexadecimal characters.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What are PDBs? Where must they be located for debugging to work?

4 Answers  


In which situation can you not use a viewstate?

0 Answers  


What is a Metadata?

3 Answers  


How many webforms are possible on a single webpage?

6 Answers  


What is runat?

0 Answers  






How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

1 Answers   MMTS,


What are the different types of proxy patterns?

0 Answers  


What is master page in dtp?

0 Answers  


How we can force all the validation controls to run?

0 Answers  


About Global .asax ?

6 Answers   Satyam,


What is the difference between page-level caching and fragment caching?

0 Answers  


In what order do the events of an ASPX page execute, As a developer is it important to understand these events?

4 Answers  


Categories