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 is webservices. howit is use in our project .

4 Answers   TCS,


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

0 Answers  


how to retrieve data using web services in asp.net pls give me the code and explain me briefly

3 Answers  


To call a Web service SOAP which transport protocol you use?

3 Answers   Siebel,


What is session and cookies in asp.net?

0 Answers  






Explain the asp.net mvc request life cycle? : asp.net mvc

0 Answers  


What is SOAP, UDDI and WSDL ?

2 Answers   Infosys, Network, TCS, Wipro,


What is DTS package?

2 Answers   Accenture, TCS,


How to reduce the width of textbox in editcommandcolumn of datagrid?

0 Answers  


what is the difference between response.write() and response.output.write()?

0 Answers  


What is intrinsic objects in asp.net?

0 Answers  


What does a switch do?

0 Answers  


Categories