Add Encrypt and Decrypt commands

This PR adds commands for encrypting and decrypting blocks in configuration files.
Do we still need the config type?