ASP.NET machineKey Generator

ASP.NET machineKey will reside either in your web.config or machine.config file, if you use passwordFormat=Encrypted, Hashed with ASP.NET 2.0’s Membership provider. You can generate this encryption and decryption key using CryptoServiceProvider (CSP) like RNGCryptoServiceProvider which is available under the namespace System.Security.Cryptography.

ASP.NET 2.0 machineKey:
validation="SHA1" decryption="AES"

I found a wonderful tool to generate above key which implements a cryptographic Random Number Generator using the implementation provided by the cryptographic service provider (CSP).

demo link :

download link:



About msarm

Aspiring Enterprise Architect.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s