Cipher.php Interfaces, Classes and Traits Cipher An authenticated cipher behind Encryption. Implementations must detect a wrong key or a modified payload, so only AEAD algorithms qualify.