Adding Encrypted Configuration

Added encrypted config and tests