Changing encryption type