HOW TO: Use the ASP.NET Utility to Encrypt…
HOW TO: Use the ASP.NET Utility to Encrypt Credentials and Session State Connection Strings
This step-by-step article describes how to use the Aspnet_setreg.exe utility to encrypt credentials and session state connection strings.