Better error messages for incorrect plaintext length