I'm trying to understand how the aspnet_regiis.exe tool "encrypts" Web.config files.
Here is the documentation for how to use the tool:
- Encryption: 
- Decryption: 
I'm looking for answers to questions this documentation does not address:
- Does this only work for Web.config files? 
- What exactly is encrypted? The whole config file? 
- Does IIS automatically know how to decrypt encrypted config files? 
- What encryption algorithms are used? 
- Are there any encryption keys (and/or passwords)? Where are they? 
- Can I encrypt on one machine and decrypt on another? (Or does it rely on a secret key somewhere on the server?) 
 
     
    