what do machine key element in configuration file specify?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is state management technique?

632


What is the difference between debug and release?

610


Explain the concept of View Model in MVC?

679


What is the concept of postback in asp.net?

681


What is a 401 redirect?

601






Is viewstate secure?

612


Explain Session state management options in ASP.NET.

722


Name the tools or API for developing or testing web api?

619


What are the ways of preserving data on a Web Form in ASP.NET?

711


Define page fragment caching?

601


What is page fragment caching?

631


What is the asp.net mvc folder conventions? : asp.net mvc

543


Define dll hell?

722


Can you clarified A Web service can only be written in .NET or not?

633


Which protocol is used to call web service?

646