Add the option for setting the encryption