Okay, I am posting a link to this awesome example of DPAPI (Data
Protection API) for C# and VB.net, mainly for my own reference. If you
want to encrypt data in web.config files on shared servers, this is the
way to do it.
http://www.obviex.com/samples/dpapi.aspx
Thanks to Julie Lerman for making me aware of DPAPI.