I am using aspnet_regiis.exe to encrypt my Web.config in ASP.NET MVC application.
Following is the command which I have used for encryption: