Better error message when trying to encrypt a string that is too long. Fixes #221.