Tests for the encryption cipher.