Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenHashTab cannot determine that the SFV file only contains CRC32 values when opening a SFV file. #202

Open
265785 opened this issue Mar 4, 2024 · 4 comments

Comments

@265785
Copy link

265785 commented Mar 4, 2024

The OpenHashTab is indeed a fantastic tool. However, during my usage, I encountered a minor issue that I hope to bring to your attention for consideration and resolution.

When opening a SFV file, the software cannot determine that the file that only contains CRC32 values; instead, it continues to calculate the user-selected Hash value in the settings of OpenHashTab software. In the case, the software should exclusively calculate CRC32 rather than other irrelevant values. This leads to a slowdown in calculation speed and sometimes cannot obtaining the desired results. I sincerely hope you can address and rectify this issue to enhance the efficiency and intelligence of the software.

image

OpenHashTab 3.0.4 running on Windows 10 x64

@Tmp341
Copy link
Contributor

Tmp341 commented Apr 8, 2024

Can you show what SFV file contains inside?

@265785
Copy link
Author

265785 commented Apr 8, 2024

The SFV file Only contains the file's relative path and file's CRC32 algorithm, It doesn't contain any other hash algorithm except CRC32. Though SFV file is not very safe. but its calculation speed is very fast and we can still use it to verify when one file only provide a SFV file to us for verification. Here is an example SFV file

; File's relative path               files' CRC32 algorithm
; (This line and Previous line are only annotates)

new.txt                                      3bbb5ca3
folder\02.zip                                c1b2af23
folder\20240408_210417.iso                   46175043

You can regard all SFV file as only contain CRC32 algorithm and only calculate the CRC32 algorithm in spite of other hashes, like MD5 File only calculate MD5 algorithm, It can increase the speed and give us the right output, Thank you!

SFV means Simple File Verification.
Simple File Verification (SFV) format Brief introduction are below:
https://www.fastsum.com/support/md5-checksum-utility-faq/simple-file-verification.php
https://fileinfo.com/extension/sfv

@Tmp341
Copy link
Contributor

Tmp341 commented Apr 8, 2024

What about decreasing number of spaces before CRC values?

new.txt  3bbb5ca3
folder\02.zip  c1b2af23
folder\20240408_210417.iso  46175043

Or:

3bbb5ca3  new.txt
c1b2af23  folder\02.zip
46175043  folder\20240408_210417.iso

@265785
Copy link
Author

265785 commented Apr 9, 2024

The situation are the same like before. Number of spaces has no effect to SFV files, My example is just to get a more complete understanding of the structure of an SFV file. Your examples are all true.

You only need to know that SFV file only contains file's relative path and CRC32 algorithm.
Sometimes SFV file contains some annotates start with semicolon ";", but they are of no use.

@265785 265785 changed the title OpenHashTab cannot determine the type of Hash values When opening a SFV file. OpenHashTab cannot determine that the file that only contains CRC32 values when opening a SFV file. Apr 22, 2024
@265785 265785 changed the title OpenHashTab cannot determine that the file that only contains CRC32 values when opening a SFV file. OpenHashTab cannot determine that the SFV file that only contains CRC32 values when opening a SFV file. Apr 22, 2024
@265785 265785 changed the title OpenHashTab cannot determine that the SFV file that only contains CRC32 values when opening a SFV file. OpenHashTab cannot determine that the SFV file only contains CRC32 values when opening a SFV file. Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants