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
Can we store object in viewstate?
Do gac'ed assemblies have fulltrust?
What are validator? How do you disable them?
What is advantage of asp.net?
What is Web API?
What is the purpose of url encoding?
Which asp.net objects encapsulate the state of the client and the browser?
What is custom events?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
What is manifest in .net framework?
What is the difference between session and application?
What are the ways of preserving data on a Web Form in ASP.NET?
What is GAC in ASP.NET 2.0
What is different in .net 1.1 and .net 2.0?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?