Decryption is a transformation that takes an input of ciphertext and a key, and generates plaintext.