Removed java workaround

The encryption works without line ending truncation