Encode and decode encrypted config files for server credentials