$plaintext should be $ciphertext