Ticket #37418

CRC64

Eröffnet am: 2017-08-03 00:52 Letztes Update: 2017-08-03 02:31

Auswertung:
Verantwortlicher:
(Keine)
Status:
Offen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
9 - Höchste
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

Details

? Gtk2 and 7z Windows, check sums not the same on the same files. But 7z the same file say the identical sum in Windows (~2 month ago I check CRC64 with other file and check now CRС64). File on Ext2, VBox lan disk (lan folder). files are not moved from disk partition for checking.

https://s3.postimg.org/g5mmpbmo3/q5ete654grhd7eyefh.png

Ticket-Verlauf (3/3 Historien)

2017-08-03 00:52 Aktualisiert von: c384mb
  • New Ticket "CRC64" created
2017-08-03 01:46 Aktualisiert von: giorgio_tani
Kommentar

Thank you for reporting. I've reproduced the problem and I'm looking in the issue.

2017-08-03 02:31 Aktualisiert von: giorgio_tani
Kommentar

The implementation of the algorithm seems correct in PeaZip, and as for I was able to see the underlying library provides consistent output for all utilities it is implemented in.

The problem is that multiple CRC64 standards exists, see in example http://reveng.sourceforge.net/crc-catalogue/17plus.htm#crc.cat.crc-64 and https://en.wikipedia.org/wiki/Cyclic_redundancy_check#Standards_and_common_use

My software uses Wolfgang Ehrhardt's implementation (which is also used in a plugin for FAR Manager maintained by Wolfgang Ehrhardt himself), identified as CRC-64/WE in first link, while 7-Zip / p7zip uses Igor Pavlov's implementation (he is the author of 7-Zip, and of 7Z and XZ formats), identified as CRC-64/XZ in the first link.

While the algorithms are commonly referred with same name, they are inherently different and produces different results. I'll test better the issue, and I'll try to clarify the topic in documentation in future.

Dateianhangliste

Keine Anhänge

Bearbeiten

Please login to add comment to this ticket » Anmelden