ASP.NET Machine Key Generator

Generate a ready-to-use <machineKey> config snippet for web farm deployments.

Keys are generated using crypto.getRandomValues() — the same cryptographic RNG used by your OS. Place the generated snippet inside the <system.web> section of your web.config. Use the same keys on all nodes in a web farm so session state and forms authentication tokens remain valid across servers.