4 ms·
I think what one needs to realize here is in what circumstances zip was born. It was ultimately a private person who founded a small company who wrote a tool f
by hannob 5y ago
I think what one needs to realize here is in what circumstances zip was born.
It was ultimately a private person who founded a small company who wrote a tool for DOS and distributed it as shareware. There were other tools like it (ARJ and LHA were other popular ones). PKZIP disappeared, but its format ZIP became the de-facto standard and survived decades later, which was likely the result of some random circumstances.
So it shouldn't be surprising that the format isn't necessary ideal looking decades back.
(One could add that ZIP encryption is a big mess. The original ZIP encryption is insecure, there are two incompatible less insecure modes that still are vulnerable to malleability attacks and there's no way to have any modern form of encryption with an AEAD in ZIP.)
- Wildgoose 5y agoI always used LHA. I think I'm in good company seeing as Carmack used it to compress assets in both Doom and Quake.
- glenneroo 5y agoLHA was released as freeware and included some source code to help with porting, whereas PKZip was released as shareware and as the article mentions, it's hard to find actual implementation details around i.e. it was probably easier/cheaper/smarter to go with LHA. https://en.wikipedia.org/wiki/LHA_(file_format) https://en.wikipedia.org/wiki/LHA_(file_format)