Now the encryption works with the controller