Can we encrypt configs?

Hi everyone, is there any way to encrypt configs / hide the contents of the code?