Still problems with encryption without newlines, memory corruption
No more strlen for non-string