This is an application that will generate a valid machineKey block with random, secure, hard-coded keys that you can paste inside the <system.web> in your web.config or machine.config file. Hard-coded encryption and validation keys are needed if you have a web farm, if you use passwordFormat=Encrypted with ASP.NET 2.0's Membership provider, or if you have certain ViewState issues.
Click the button to generate a machineKey block with a random set of keys.
ASP.NET 1.1 machineKey:
ASP.NET 2.0 machineKey: