Login


ASP.NET Machine Key Generator

 

This tool will generate a valid random machine key used by ASP.NET for encryption, decryption, validation of forms-authentication and view-state data, and other purposes.

Select your target version of ASP.NET and click the Generate Keys button. You can then copy the result and paste it into the <system.web> section of your web.config file.

For more information about ASP.NET machine keys, check out the machineKey element on MSDN.

The code used for this resource is presented in the article Generating a <machineKey> Element.

ASP.NET Version: