Adds a check to AES decrypt and throws an exception if data is too short

I noticed that this would fail with an awkward error so I thought an exception would be a little bit more helpful.