简体   繁体   English

为Apache Maven使用不同的md5是否正常?

[英]is it normal to have different md5 for apache maven

I am downloading apache marven form this official website 我正在从这个官方网站下载apache marven

https://maven.apache.org/download.cgi https://maven.apache.org/download.cgi

I downloaded apache-maven-3.3.3-bin.tar.gz and calculated the md5 and the result is 9f0fa573a526785b8e0adb0631687ad5 while the result on the official page is: 794b3b7961200c542a7292682d21ba36 我下载了apache-maven-3.3.3-bin.tar.gz并计算了md5,结果为9f0fa573a526785b8e0adb0631687ad5而官方页面上的结果为: 794b3b7961200c542a7292682d21ba36

** is that normal? **正常吗? ** **

then i downloaded apache-maven-3.3.3-bin.zip and for some reason, my mac 10.10.1 gives me a folder after finishing downloading not a zip file 然后我下载了apache-maven-3.3.3-bin.zip,由于某种原因,我的mac 10.10.1在下载完非zip文件后给了我一个文件夹

i am worried about the security of that file since there are two different md5 results, is that normal please? 我担心该文件的安全性,因为有两个不同的md5结果,请问这正常吗?

The file must have been corrupted during download. 文件在下载过程中必须已损坏。 You have to download it again. 您必须再次下载。 That is of course assuming you are certain the md5 hash corresponds to that file. 当然,这是假设您确定md5哈希对应于该文件。

A cryptographic hash of a given piece of data is unique. 给定数据的加密哈希是唯一的。 You cannot have two different hashes for the same piece of data . 同一数据段不能有两个不同的哈希值 However, you could have the same hash for two different pieces of data, although that is quite unlikely. 但是,对于两个不同的数据,您可能具有相同的哈希,尽管这种可能性很小。 That is called a hash collision. 这称为哈希冲突。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM