http://www.codeproject.com/Tips/795135/Encrypt-ConnectionString-in-Web-Config?loginkey=false
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
ASPNET_REGIIS -pef "connectionStrings" "D:\Articles\EncryptWebConfig" use this command
here EncryptWebConfig is project name
for decrypt
ASPNET_REGIIS -pdf "connectionStrings" "D:\Articles\EncryptWebConfig" use this command