Handly poorly-formed encrypted strings more gracefully