enable and disable the encryption feature