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 server infrastructure?

593


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

523


What is _viewstart?

485


How Session use Cookies in State Management?

580


Define static constructor?

532






What are main return types supported in Web API?

720


Can you nest updatepanel within each other?

529


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

630


Explain the purpose of storyboard.targetproperty.

501


What is state management in asp.net with example?

437


Why do we use asp.net?

566


i want the asp.net technical questions and answeres

1576


What is difference between singleton and single call?

624


Which tool you have done?

1446


What is an assembly? Explain its parts.

601