saramibreak / DiscImageCreator

This is the disc (CD, GD, DVD, HD-DVD, BD, GC/Wii, XBOX, XBOX 360) and disk (Floppy, MO, USB etc) image creation tool
http://forum.redump.org/topic/10483/discimagecreator/
Apache License 2.0
530 stars 45 forks source link

xxHash support #179

Closed malvarenga123 closed 1 year ago

malvarenga123 commented 1 year ago

Is your feature request related to a problem? Please describe. Not a problem, but I saw that you added support for new hashes on commit f1b1ece. Considering the size of some discs and the fact that xxHash is one of the fastest hashes for non-cryptographic use, it might be interesting to add support for it too.

Describe the solution you'd like Also calculate XXH3 and XXH128 with the /d option

Additional context https://cyan4973.github.io/xxHash/ https://github.com/Cyan4973/xxHash

saramibreak commented 1 year ago

Do you know any other applications that support xxHash?

malvarenga123 commented 1 year ago

https://github.com/namazso/OpenHashTab https://github.com/mcmilk/7-Zip-zstd https://fastcopy.jp/help/fastcopy_eng.htm#fchash

An alternative could be Blake3, which is also much faster than most cryptographic-safe hashes.

saramibreak commented 1 year ago

DiscImageCreator_test.zip DiscImageCreator_test.tar.gz

malvarenga123 commented 1 year ago

Thanks a lot @saramibreak ! I tested with one disc and the hashes matched xxhsum.