📜  ZIP 和 RAR 的区别

📅  最后修改于: 2021-09-13 03:09:43             🧑  作者: Mango

1. 邮编:
它是一种支持无损数据压缩和归档的文件格式。 Phil Katz 是 1989 年这种文件格式的开发者。今天,ZIP 是一种广泛使用的格式,并得到多种软件实用程序的支持,包括 Microsoft Windows 和 Mac OS X 提供的内置 ZIP 支持。最好的部分,ZIP 文件可以可以用任何创建 ZIP 文件的程序打开。

ZIP 文件是数据容器,其中包含一个或多个文件,这些文件以使用 Zip 压缩的压缩或压缩格式组合在一起。嗯,ZIP 档案不仅能够压缩文件;他们只需点击几下即可加密文件(受密码保护)和拆分档案。可以使用多种方法压缩或压缩多个文件,例如 LZMA、WavPack、PPMd、BZIP2、DEFLATE 等。

2. 压缩包:
RAR 代表 Roshal Archive Compressed file 是一种专有的存档文件格式。它包含一个或多个文件或文件夹。

但是,与硬盘驱动器上的普通文件夹不同,RAR 文件需要第三方软件才能打开和解压缩存档的内容。它是 WinRAR 存档器的原生文件格式,它以压缩形式存储多个文件——您需要做的就是解压缩其内容以访问文件。 RAR 通常比 ZIP 文件的默认支持更擅长数据压缩。

ZIP 和 RAR 的区别:

SR.NO ZIP RAR
1 ZIP is an archive file format created by Phil Katz as a standard format for lossless data compression. RAR is a proprietary archive file format for lossless data compression developed by Eugene Roshal.
2 It is free and open standard with many implementations and is supported almost everywhere. It is not free and requires a third party tool called WinRAR archiver to compress/decompress files.
3 The rate of compression of ZIP is lower than that of the RAR format. The rate of compression of RAR is better than that of the ZIP format.
4 ZIP offers a password based protection. RAR doesn’t offers a password based protection.
5 ZIP files can be created with several programs such as WinRAR, WinZIP, Freebyte Zip etc. RAR files are limited to only one program that is WinRAR.
6 ZIP uses the ZIP 2.0 encryption algorithm which is relatively weak. RAR uses the much effiicent AES-128 encryption.
7 Filename extension are .zip and .zipx. Filename extension are .rar, .rev, .r00, .r01.
8 ZIP uses DEFLATE compression algorithm to compress data which is less efficient than the newer compression method. RAR uses a compression algorithm which is substantially better and efficient than the DEFLATE compression method.